fix vet error
parent
a0d34270b1
commit
0c2a040071
|
@ -83,6 +83,6 @@ func TestStats_Snapshot(t *testing.T) {
|
||||||
|
|
||||||
bar := foo.Snapshot()
|
bar := foo.Snapshot()
|
||||||
if bar.Name() != "server" || bar.Get("a") != 100 || bar.Get("b") != 600 {
|
if bar.Name() != "server" || bar.Get("a") != 100 || bar.Get("b") != 600 {
|
||||||
t.Fatalf("stats snapshot returned unexpected result: %s", bar)
|
t.Fatalf("stats snapshot returned unexpected result: %#v", bar)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue