From 8b081ce9b31c851b06edc7cb5dbdd83517d35acf Mon Sep 17 00:00:00 2001 From: Luediger Reinhard Date: Fri, 5 May 2017 15:58:39 +0200 Subject: [PATCH] clientv3: check IsModify Fix watch_test.go TestEvent Prior to This fix the isModify case of the table driven test was never checked. --- clientv3/watch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientv3/watch_test.go b/clientv3/watch_test.go index 448bfd814..8d3380522 100644 --- a/clientv3/watch_test.go +++ b/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() {