From 611b2a6c3a84532e69d44ccff24cc5bc0b3c72fd Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 19 Dec 2024 18:37:51 -0600 Subject: [PATCH] Add more test cases for #1535 --- test/suite-boot.janet | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/suite-boot.janet b/test/suite-boot.janet index bcaa1f9d..d77611a6 100644 --- a/test/suite-boot.janet +++ b/test/suite-boot.janet @@ -1001,5 +1001,8 @@ @{:key1 "value1" @"key" "value2"}) "deep= mutable keys")) (assert (deep-not= {"abc" 123} {@"abc" 123}) "deep= mutable keys vs immutable key") (assert (deep= {@"" 1 @"" 2 @"" 3} {@"" 1 @"" 2 @"" 3}) "deep= duplicate mutable keys") +(assert (deep= {@"" @"" @"" @"" @"" 3} {@"" @"" @"" @"" @"" 3}) "deep= duplicate mutable keys 2") +(assert (deep= {@[] @"" @[] @"" @[] 3} {@[] @"" @[] @"" @[] 3}) "deep= duplicate mutable keys 3") +(assert (deep= {@{} @"" @{} @"" @{} 3} {@{} @"" @{} @"" @{} 3}) "deep= duplicate mutable keys 4") (end-suite)