We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fe134 commit 540310aCopy full SHA for 540310a
Example/Tests/StringAdditionsTests.swift
@@ -50,8 +50,8 @@ class StringAdditionsTests: XCTestCase {
50
func testSubscript() {
51
let string = "OMG. I can't believe it's a thing!"
52
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")
+ XCTAssertTrue(string[1] == "M", "String.subscript: should return the Character M")
+ XCTAssertTrue(string[2] == "G", "String.subscript: should return the Character G")
55
}
56
57
func testSubstring() {
0 commit comments