Merge pull request #4339 from shawnps/patch-2

clientv3/integration: add tt.key string formatting verb to Fatalf call
This commit is contained in:
Gyu-Ho Lee 2016-01-28 23:09:06 -08:00
commit 754967644d

View File

@ -43,7 +43,7 @@ func TestKVPut(t *testing.T) {
kv := clientv3.NewKV(clus.RandClient())
if _, err := kv.Put(tt.key, tt.val, tt.leaseID); err != nil {
t.Fatalf("#%d: couldn't put (%v)", i, tt.key, err)
t.Fatalf("#%d: couldn't put %q (%v)", i, tt.key, err)
}
resp, err := kv.Get(tt.key, 0)