Merge pull request #7885 from luedigernet/fix-TestEvent

Fix watch_test.go TestEvent
This commit is contained in:
Xiang Li 2017-05-05 23:31:59 -07:00 committed by GitHub
commit af7d051019

View File

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