Skip to content

Commit e29d211

Browse files
authored
Test lastindex for LazyString (#56585)
Should get the lazy strings file to 100% coverage
1 parent 2a02fc3 commit e29d211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/strings/basic.jl

+1
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,7 @@ end
11951195
@test codeunit(l) == UInt8
11961196
@test codeunit(l,2) == 0x2b
11971197
@test isvalid(l, 1)
1198+
@test lastindex(l) == lastindex("1+2")
11981199
@test Base.infer_effects((Any,)) do a
11991200
throw(lazy"a is $a")
12001201
end |> Core.Compiler.is_foldable

0 commit comments

Comments
 (0)