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
This commit is contained in:
James Nugent 2017-01-05 09:28:12 -06:00
parent 2231dd9d1e
commit 19921290c4
1 changed files with 1 additions and 1 deletions

View File

@ -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 {