From d353ad4f5324d211e02856bb1c0ec5b6a19787f2 Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Sat, 23 Mar 2024 09:38:02 +0000 Subject: [PATCH] Update test/test_core.jl Co-authored-by: Jan Weidner --- test/test_core.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_core.jl b/test/test_core.jl index 0187903d..9c53f9fe 100644 --- a/test/test_core.jl +++ b/test/test_core.jl @@ -249,7 +249,7 @@ end @test all(hash(@optic(_[i])) != hash((i,)) for i = 1:1000) # Same for tuples of tuples (√(1000) ≈ 32). - @test count(hash(@optic(_[i][j])) != hash(((i,), (j,))) for i = 1:32, j = 1:32) > 900 + @test all(hash(@optic(_[i][j])) != hash(((i,), (j,))) for i = 1:32, j = 1:32) end @testset "type stability" begin