mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
clientv3: check IsModify
Fix watch_test.go TestEvent Prior to This fix the isModify case of the table driven test was never checked.
This commit is contained in:
parent
1f8de1aab0
commit
8b081ce9b3
@ -42,7 +42,7 @@ func TestEvent(t *testing.T) {
|
||||
ModRevision: 4,
|
||||
},
|
||||
},
|
||||
isModify: false,
|
||||
isModify: true,
|
||||
}}
|
||||
for i, tt := range tests {
|
||||
if tt.isCreate && !tt.ev.IsCreate() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user