1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 16:10:55 +00:00

fix the go vet

This commit is contained in:
astaxie 2016-01-25 21:33:57 +08:00
parent 3dac344ff6
commit f8004b69ad

View File

@ -162,7 +162,7 @@ func TestJson(t *testing.T) {
value, err = jsonconf.DIY(k)
}
if err != nil {
t.Fatalf("get key %q value fatal,%V err %s", k, v, err)
t.Fatalf("get key %q value fatal,%v err %s", k, v, err)
} else if fmt.Sprintf("%v", v) != fmt.Sprintf("%v", value) {
t.Fatalf("get key %q value, want %v got %v .", k, v, value)
}