Skip to content

Commit

Permalink
Removed extraneous '_' in parameter from Swift tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
wanbok committed Jan 5, 2016
1 parent 669b5cc commit 4a4498e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,21 +256,21 @@ If you want to write your test cases in Swift, you'll need to keep two things in
import KIF

extension XCTestCase {
func tester(_ file : String = __FILE__, _ line : Int = __LINE__) -> KIFUITestActor {
func tester(file : String = __FILE__, _ line : Int = __LINE__) -> KIFUITestActor {
return KIFUITestActor(inFile: file, atLine: line, delegate: self)
}

func system(_ file : String = __FILE__, _ line : Int = __LINE__) -> KIFSystemTestActor {
func system(file : String = __FILE__, _ line : Int = __LINE__) -> KIFSystemTestActor {
return KIFSystemTestActor(inFile: file, atLine: line, delegate: self)
}
}

extension KIFTestActor {
func tester(_ file : String = __FILE__, _ line : Int = __LINE__) -> KIFUITestActor {
func tester(file : String = __FILE__, _ line : Int = __LINE__) -> KIFUITestActor {
return KIFUITestActor(inFile: file, atLine: line, delegate: self)
}

func system(_ file : String = __FILE__, _ line : Int = __LINE__) -> KIFSystemTestActor {
func system(file : String = __FILE__, _ line : Int = __LINE__) -> KIFSystemTestActor {
return KIFSystemTestActor(inFile: file, atLine: line, delegate: self)
}
}
Expand Down

0 comments on commit 4a4498e

Please sign in to comment.