fix: tests

This commit is contained in:
yusing
2025-04-24 15:45:34 +08:00
parent 76fb0cfdbb
commit edada22ac0
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ func TestClone(t *testing.T) {
if !reflect.DeepEqual(k, cl) {
t.Errorf("Clone() = %v, want %v", cl, k)
}
cl.With("new")
cl = cl.With("new")
if cl == k {
t.Error("Clone() returns same pointer")
}