Skip to content

Commit 4f788d9

Browse files
committed
log event string in case not write
1 parent 0e568fb commit 4f788d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentcontainers/watcher/watcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func TestFSNotifyWatcher(t *testing.T) {
4343
require.NoError(t, err, "next event failed")
4444

4545
require.NotNil(t, event, "want non-nil event")
46-
require.True(t, event.Has(fsnotify.Write), "want write event")
46+
require.True(t, event.Has(fsnotify.Write), "want write event", event.String())
4747
require.Equal(t, event.Name, testFile, "want event for test file")
4848

4949
// Test removing the file from the watcher.

0 commit comments

Comments
 (0)