mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-21 07:51:28 +02:00
fix: tests
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user