Skip to content

Commit 6e93392

Browse files
authored
Remove duplicated word in test error messages (#114)
1 parent 456a496 commit 6e93392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

set_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ func Test_SetUnion(t *testing.T) {
632632

633633
e := c.Union(d)
634634
if e.Cardinality() != 8 {
635-
t.Error("set e should should have 8 elements in it after being unioned with set c to d")
635+
t.Error("set e should have 8 elements in it after being unioned with set c to d")
636636
}
637637

638638
f := NewSet[int]()
@@ -668,7 +668,7 @@ func Test_UnsafeSetUnion(t *testing.T) {
668668

669669
e := c.Union(d)
670670
if e.Cardinality() != 8 {
671-
t.Error("set e should should have 8 elements in it after being unioned with set c to d")
671+
t.Error("set e should have 8 elements in it after being unioned with set c to d")
672672
}
673673

674674
f := NewThreadUnsafeSet[int]()

0 commit comments

Comments
 (0)