Browse Source

cli: Fix printf format in KV Export Test

Fix vet issue:

command/kv_export_test.go:48: arg code for printf verb %s of wrong type:
int
pull/2613/head^2
James Nugent 8 years ago
parent
commit
19921290c4
  1. 2
      command/kv_export_test.go

2
command/kv_export_test.go

@ -45,7 +45,7 @@ func TestKVExportCommand_Run(t *testing.T) {
var exported []*kvExportEntry
err := json.Unmarshal([]byte(output), &exported)
if err != nil {
t.Fatalf("bad: %s", code)
t.Fatalf("bad: %d", code)
}
if len(exported) != 3 {

Loading…
Cancel
Save