Skip to content

Commit

Permalink
Remove objc attributes from NMBExpectation
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Jul 20, 2017
1 parent 36d610d commit 6340919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Nimble/Adapters/NMBExpectation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
}
}
Expand Down

0 comments on commit 6340919

Please sign in to comment.