     func testShouldMatchNilTypes() {
         expect(false as Bool?).to(beFalsy())
         expect(nil as Bool?).to(beFalsy())
-        expect(nil as Int?).to(beFalsy())
+        #if _runtime(_ObjC)
+            expect(nil as Int?).to(beFalsy())
+        #else
+            expect(nil as NSNumber?).to(beFalsy())
+        #endif
     }
 
     func testShouldNotMatchTrue() {


    func testShouldNotMatchNonNilTypes() {
        expect(true as Bool?).toNot(beFalsy())
        expect(1 as Int?).toNot(beFalsy())
    }

    func testShouldMatchFalse() {


    func testShouldMatchNonNilTypes() {
        expect(true as Bool?).to(beTruthy())
        #if _runtime(_ObjC)
            expect(1 as Int?).to(beTruthy())
        #else
            expect(1 as NSNumber?).to(beTruthy())
        #endif
    }

    func testShouldMatchTrue() {
