mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #4028 from gyuho/storage_test_variable
storage: remove unnecessary test variable assignment
This commit is contained in:
commit
c4732eb6e1
@ -281,7 +281,7 @@ func testKVPutMultipleTimes(t *testing.T, f putFunc) {
|
||||
base := int64(i + 1)
|
||||
|
||||
rev := f(s, []byte("foo"), []byte("bar"))
|
||||
if wrev := base; rev != wrev {
|
||||
if rev != base {
|
||||
t.Errorf("#%d: rev = %d, want %d", i, rev, base)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user