     }
     
     func testInheritance() {
-        var o = SimpleObject(5);
-        o.callOverriddenMethod();
-        XCTAssert(o.methodToOverrideCalled);
+        var o = SimpleObject(5)
+        o.callOverriddenMethod()
+        XCTAssert(o.methodToOverrideCalled)
         
         o = SimpleObjectOverride(5)
-        o.callOverriddenMethod();
-        XCTAssert(test.testInheritanceMethodCalled);
-        XCTAssertFalse(o.methodToOverrideCalled);
+        o.callOverriddenMethod()
+        XCTAssert(test.testInheritanceMethodCalled)
+        XCTAssertFalse(o.methodToOverrideCalled)
         
         o = SimpleObjectOverrideCallSuper(5)
-        o.methodToOverride();
-        XCTAssert(o.methodToOverrideCalled);
+        o.methodToOverride()
+        XCTAssert(o.methodToOverrideCalled)
     }
     
     func testObjects() {
-        SimpleObject.staticVoidNoArgMethod();
-        
-        XCTAssertNotNil(simpleObjectInstance);
-        
-        XCTAssertEqual(49.0, simpleObjectInstance.numberSingleObjectArgMethod(simpleObjectInstance));
-        
-        XCTAssertEqual(14.0, simpleObjectInstance.numberSingleObjectArgMethod(SimpleObject(2)));
-        
-        XCTAssertEqual(simpleObjectInstance, simpleObjectInstance);
-        XCTAssert(simpleObjectInstance == simpleObjectInstance.upcastThisToObject());
-        XCTAssert(simpleObjectInstance.upcastThisToObject() == simpleObjectInstance);
-        XCTAssert(simpleObjectInstance.upcastThisToObject() == simpleObjectInstance.upcastThisToObject());
+        SimpleObject.staticVoidNoArgMethod()
+        
+        XCTAssertNotNil(simpleObjectInstance)
+        
+        XCTAssertEqual(49.0, simpleObjectInstance.numberSingleObjectArgMethod(simpleObjectInstance))
+        
+        XCTAssertEqual(14.0, simpleObjectInstance.numberSingleObjectArgMethod(SimpleObject(2)))
+        
+        XCTAssertEqual(simpleObjectInstance, simpleObjectInstance)
+        XCTAssert(simpleObjectInstance == simpleObjectInstance.upcastThisToObject())
+        XCTAssert(simpleObjectInstance.upcastThisToObject() == simpleObjectInstance)
+        XCTAssert(simpleObjectInstance.upcastThisToObject() == simpleObjectInstance.upcastThisToObject())
     }
     
     func testFunctions() {
-        voidNoArgFunction();
-        XCTAssert(voidNoArgFunctionCalled);
-    
-        XCTAssertEqual("stringNoArgFunctionReturnValue", stringNoArgFunction());
-        
-        XCTAssertEqual(25.0, numberMultipleArgFunction(5, b: 5));
-        XCTAssertEqual(-3.0, numberMultipleArgFunction(-2, b: 1.5));
-        
-        XCTAssertEqual("stringNoArgLambdaReturnValue", stringNoArgLambda());
-        XCTAssertEqual(stringNoArgLambda(), stringNoArgLambda());
-        
-        stringNoArgLambda = { "expectedReturnValue" };
-        XCTAssertEqual("expectedReturnValue", stringNoArgLambda());
+        voidNoArgFunction()
+        XCTAssert(voidNoArgFunctionCalled)
+    
+        XCTAssertEqual("stringNoArgFunctionReturnValue", stringNoArgFunction())
+        
+        XCTAssertEqual(25.0, numberMultipleArgFunction(5, b: 5))
+        XCTAssertEqual(-3.0, numberMultipleArgFunction(-2, b: 1.5))
+        
+        XCTAssertEqual("stringNoArgLambdaReturnValue", stringNoArgLambda())
+        XCTAssertEqual(stringNoArgLambda(), stringNoArgLambda())
+        
+        stringNoArgLambda = { "expectedReturnValue" }
+        XCTAssertEqual("expectedReturnValue", stringNoArgLambda())
     }
     
     func testConstTypes() {

    func testNativeSideInterfaceDeallocation() {
        var o :AnyObject? = SimpleInterfaceImpl()
        weak var ref = o
        XCTAssertNotNil(ref);
        optionalAnyVar = o;
        o = nil;
        XCTAssertNotNil(ref);
        optionalAnyVar = nil;
        JSSynchronousGarbageCollectForDebugging(this.context.ref)
        XCTAssertNil(ref)
    }

    }

    func testNoErasureForBasicTypes() {
        anyVar = booleanConst
        XCTAssertEqual(anyVar as? Bool, booleanConst)
    }
    
    func testErasureForNonBasicTypes() {
        XCTAssert(anyObjectInstance == anyObjectInstance)
        anyVar = anyObjectInstance
        XCTAssert(anyVar == anyObjectInstance)
    }
