Skip to content

Commit df423a0

Browse files
committed
miss testcase for matching last
1 parent 0dd0035 commit df423a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AGRegexTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AGRegexTest: XCTestCase {
3535
let regex = AGRegex("ai")
3636
let str = "The rain in Spain"
3737
let actual = regex.last
38-
let expect = AGMatch(start: 5, end: 7, base: str, groups: [])
38+
let expect = AGMatch(start: 14, end: 16, base: str, groups: [])
3939
XCTAssertEqual(actual, expect)
4040
}
4141

0 commit comments

Comments
 (0)