 import XCTest
 import Nimble
+import Foundation
 
 enum ConvertsToBool : ExpressibleByBooleanLiteral, CustomStringConvertible {
     case trueLike, falseLike

    func testShouldNotMatchNilTypes() {
        expect(false as Bool?).toNot(beTruthy())
        expect(nil as Bool?).toNot(beTruthy())
        expect(nil as Int?).toNot(beTruthy())
    }

    func testShouldNotMatchFalse() {


    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() {
