Skip to content

Commit

Permalink
Update NimbleXCTestHandler.swift
Browse files Browse the repository at this point in the history
access level for record failure, which can be used in custom AssertionHandler class
  • Loading branch information
maryamaffinityclick committed Jun 15, 2018
1 parent fac3566 commit 4d046f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Nimble/Adapters/NimbleXCTestHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func isXCTestAvailable() -> Bool {
#endif
}

private func recordFailure(_ message: String, location: SourceLocation) {
public func recordFailure(_ message: String, location: SourceLocation) {
#if SWIFT_PACKAGE
XCTFail("\(message)", file: location.file, line: location.line)
#else
Expand Down

0 comments on commit 4d046f5

Please sign in to comment.