aboutsummaryrefslogtreecommitdiff
path: root/sets_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sets_test.go')
-rw-r--r--sets_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sets_test.go b/sets_test.go
index b3900fc..5a83eb9 100644
--- a/sets_test.go
+++ b/sets_test.go
@@ -7,6 +7,7 @@ import (
func TestSetsPut(t *testing.T) {
s := NewSet[string](nil)
s2 := s.Set("1").Set("1")
+ s2.Set("2")
if s.Len() != 0 {
t.Fatalf("Unexpected mutation of set")
}