Browse Source

clientv3: check IsModify

Fix watch_test.go TestEvent

Prior to This fix the isModify case of the table driven test was never checked.
Luediger Reinhard 8 years ago
parent
commit
8b081ce9b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clientv3/watch_test.go

+ 1 - 1
clientv3/watch_test.go

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