From ec0ef949fc1e129ac935a9b28f6404a589685796 Mon Sep 17 00:00:00 2001 From: Jakob Nybo Nissen Date: Mon, 18 Nov 2024 10:05:07 +0100 Subject: [PATCH] Add missing end --- test/strings/search.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/strings/search.jl b/test/strings/search.jl index 7f3d8fc40fce3f..9d0ea7844ec7f9 100644 --- a/test/strings/search.jl +++ b/test/strings/search.jl @@ -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