Skip to content

Commit 2f785e1

Browse files
committed
Merge pull request #15 from modocache/patch-1
[XCTAssert] Fix typos in documentation
2 parents a2e914e + 07ce38d commit 2f785e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XCTest/XCTAssert.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
//
1212

1313
/**
14-
The primitive assertion function for XCTest. All other XCTAssert* functions are implemented in terms of this. This function emits a test failure if the gneeral Bool expression passed to it evaluates to false.
14+
The primitive assertion function for XCTest. All other XCTAssert* functions are implemented in terms of this. This function emits a test failure if the general Bool expression passed to it evaluates to false.
1515
- Parameter expression: A boolean test. If it evaluates to false, the assertion fails and emits a test failure.
1616
- Parameter message: An optional message to use in the failure if the assetion fails. If no message is supplied a default message is used.
17-
- Parameter file: The file name to use in the error message if the assertion fails. Default is the file containing the call to this function. It is rare to provide this parameter when calling tbhis function.
17+
- Parameter file: The file name to use in the error message if the assertion fails. Default is the file containing the call to this function. It is rare to provide this parameter when calling this function.
1818
- Parameter line: The line number to use in the error message if the assertion fails. Default is the line number of the call to this function in the calling file. It is rare to provide this parameter when calling this function.
1919
*/
2020
public func XCTAssert(@autoclosure expression: () -> BooleanType, _ message: String = "", file: StaticString = __FILE__, line: UInt = __LINE__) {

0 commit comments

Comments
 (0)