Skip to content

Commit

Permalink
clientv3: check IsModify
Browse files Browse the repository at this point in the history
Fix watch_test.go TestEvent

Prior to This fix the isModify case of the table driven test was never checked.
  • Loading branch information
luedigernet committed May 5, 2017
1 parent 1f8de1a commit 8b081ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientv3/watch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8b081ce

Please sign in to comment.