diff --git a/test/strings/basic.jl b/test/strings/basic.jl index ee92995bd2e11..b652523d6b193 100644 --- a/test/strings/basic.jl +++ b/test/strings/basic.jl @@ -1195,6 +1195,7 @@ end @test codeunit(l) == UInt8 @test codeunit(l,2) == 0x2b @test isvalid(l, 1) + @test lastindex(l) == lastindex("1+2") @test Base.infer_effects((Any,)) do a throw(lazy"a is $a") end |> Core.Compiler.is_foldable