Skip to content

Commit

Permalink
Remove stray at-test
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored Jan 3, 2021
1 parent 58cc822 commit d8770c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
m = match(r"(.) test (.+)", "a test 123")
@test first(m) == "a"
@test collect(m) == ["a", "123"]
@test for (i, capture) in enumerate(m)
for (i, capture) in enumerate(m)
i == 1 && @test capture == "a"
i == 2 && @test capture == "123"
end
Expand Down

0 comments on commit d8770c5

Please sign in to comment.