mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 16:50:54 +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)
|
value, err = jsonconf.DIY(k)
|
||||||
}
|
}
|
||||||
if err != nil {
|
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) {
|
} else if fmt.Sprintf("%v", v) != fmt.Sprintf("%v", value) {
|
||||||
t.Fatalf("get key %q value, want %v got %v .", k, v, value)
|
t.Fatalf("get key %q value, want %v got %v .", k, v, value)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user