diff test/testStaticDicts.jl @ 734:1a8ef927e732 feature/static_dict

Add test for equality using ===
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 17 Mar 2021 21:24:57 +0100
parents b2af21a4b376
children b5d9fbcdcef1
line wrap: on
line diff
--- a/test/testStaticDicts.jl	Wed Mar 17 20:21:36 2021 +0100
+++ b/test/testStaticDicts.jl	Wed Mar 17 21:24:57 2021 +0100
@@ -21,7 +21,10 @@
     end
 
     @testset "equality" begin
-        @test StaticDict(1=>1) == StaticDict(1=>1) # This is not true for the regular Dict
+        @test StaticDict(1=>1) == StaticDict(1=>1)
+
+        # The following is not true for the regular Dict
+        @test StaticDict(1=>1) === StaticDict(1=>1)
     end
 
     @testset "get" begin