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:
parent
3dac344ff6
commit
f8004b69ad
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user