Skip to content

Commit 540310a

Browse files
committed
Fix incorrect assertion messages
1 parent e5fe134 commit 540310a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/Tests/StringAdditionsTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class StringAdditionsTests: XCTestCase {
5050
func testSubscript() {
5151
let string = "OMG. I can't believe it's a thing!"
5252
XCTAssertTrue(string[0] == "O", "String.subscript: should return the Character O")
53-
XCTAssertTrue(string[1] == "M", "String.subscript: should return the Character O")
54-
XCTAssertTrue(string[2] == "G", "String.subscript: should return the Character O")
53+
XCTAssertTrue(string[1] == "M", "String.subscript: should return the Character M")
54+
XCTAssertTrue(string[2] == "G", "String.subscript: should return the Character G")
5555
}
5656

5757
func testSubstring() {

0 commit comments

Comments
 (0)