Skip to content

Commit dd9291a

Browse files
committed
Add test
1 parent 91e9f66 commit dd9291a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/hashing.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,3 +284,11 @@ end
284284
end
285285
end
286286
end
287+
288+
if Sys.WORD_SIZE >= 64
289+
@testset "very large string" begin
290+
N = 2^31+1
291+
s = String('\0'^N);
292+
objectid(s)
293+
end
294+
end

0 commit comments

Comments
 (0)