From 6340919a1b08c7ad96c478f176ff42ca73217422 Mon Sep 17 00:00:00 2001 From: Sho Ikeda Date: Thu, 20 Jul 2017 09:45:50 +0900 Subject: [PATCH] Remove objc attributes from NMBExpectation --- Sources/Nimble/Adapters/NMBExpectation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Nimble/Adapters/NMBExpectation.swift b/Sources/Nimble/Adapters/NMBExpectation.swift index c811e2b5a..93f97d277 100644 --- a/Sources/Nimble/Adapters/NMBExpectation.swift +++ b/Sources/Nimble/Adapters/NMBExpectation.swift @@ -36,7 +36,7 @@ public class NMBExpectation: NSObject { internal let _line: UInt internal var _timeout: TimeInterval = 1.0 - @objc public init(actualBlock: @escaping () -> NSObject!, negative: Bool, file: FileString, line: UInt) { + public init(actualBlock: @escaping () -> NSObject!, negative: Bool, file: FileString, line: UInt) { self._actualBlock = actualBlock self._negative = negative self._file = file @@ -175,7 +175,7 @@ public class NMBExpectation: NSObject { public var toNotEventuallyWithDescription: (NMBMatcher, String) -> Void { return toEventuallyNotWithDescription } - @objc public class func failWithMessage(_ message: String, file: FileString, line: UInt) { + public class func failWithMessage(_ message: String, file: FileString, line: UInt) { fail(message, location: SourceLocation(file: file, line: line)) } }