浏览代码

clientv3/integration: add tt.key string formatting verb to Fatalf call

Shawn Smith 10 年之前
父节点
当前提交
1ac0ca5317
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      clientv3/integration/client_test.go

+ 1 - 1
clientv3/integration/client_test.go

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