Skip to content

Commit

Permalink
Fix incorrect assertion messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ricsantos committed Jan 9, 2018
1 parent e5fe134 commit 540310a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/Tests/StringAdditionsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class StringAdditionsTests: XCTestCase {
func testSubscript() {
let string = "OMG. I can't believe it's a thing!"
XCTAssertTrue(string[0] == "O", "String.subscript: should return the Character O")
XCTAssertTrue(string[1] == "M", "String.subscript: should return the Character O")
XCTAssertTrue(string[2] == "G", "String.subscript: should return the Character O")
XCTAssertTrue(string[1] == "M", "String.subscript: should return the Character M")
XCTAssertTrue(string[2] == "G", "String.subscript: should return the Character G")
}

func testSubstring() {
Expand Down

0 comments on commit 540310a

Please sign in to comment.