Skip to content

Commit

Permalink
[XCTAssert] Fix typos in documentation
Browse files Browse the repository at this point in the history
Fix typos introduced in documentation from b9f5396.
  • Loading branch information
modocache committed Dec 12, 2015
1 parent a2e914e commit 07ce38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XCTest/XCTAssert.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
//

/**
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.
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.
- Parameter expression: A boolean test. If it evaluates to false, the assertion fails and emits a test failure.
- Parameter message: An optional message to use in the failure if the assetion fails. If no message is supplied a default message is used.
- 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.
- 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.
- 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.
*/
public func XCTAssert(@autoclosure expression: () -> BooleanType, _ message: String = "", file: StaticString = __FILE__, line: UInt = __LINE__) {
Expand Down

0 comments on commit 07ce38d

Please sign in to comment.