소스 검색

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 년 전
부모
커밋
8b081ce9b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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() {