Merge pull request #11545 from gyuho/fix

clientv3/integration: fix typo in "TestLeasingRevGet"
This commit is contained in:
Sahdev Zala 2020-01-19 15:11:19 -05:00 committed by GitHub
commit 4fc6fa4ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,7 +318,7 @@ func TestLeasingRevGet(t *testing.T) {
t.Fatal(gerr)
}
if len(getResp.Kvs) != 1 || string(getResp.Kvs[0].Value) != "def" {
t.Fatalf(`expected "k"->"abc" at rev=%d, got response %+v`, putResp.Header.Revision, getResp)
t.Fatalf(`expected "k"->"def" at rev=%d, got response %+v`, putResp.Header.Revision, getResp)
}
}