Skip to content

Commit

Permalink
Add missing end
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Nov 27, 2024
1 parent 7f4fdaa commit 39a6449
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/strings/search.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ end
@test findnext(",b", "foo,bar,baz", 10) === nothing
@test findfirst("az", "foo,bar,baz") == 10:11
@test findnext("az", "foo,bar,baz", 12) === nothing
end

# See the comments in #54579
@testset "Search for invalid chars" begin
@test findfirst(==('\xff'), "abc\xffde") == 4
Expand Down

0 comments on commit 39a6449

Please sign in to comment.