notify
notify copied to clipboard
FSEvents: historical events strip needs more magic
--- FAIL: TestWatcherShadowedWriteCreate (1.11 seconds)
testing_test.go:211: watcher_fsevents_test.go:100: ExpectAny received an event which does not match any of the expected ones (i=5): want one of [¬ify.Call{F:"", C:(chan notify.EventInfo)(nil), P:"src/github.com/rjeczalik/fs/.fs.go.swp", NP:"", E:0x1000, NE:0x0, S:interface {}(nil)}]; got notify.Delete,
For the following filesystem actions:
1 $ touch file
2 $ echo XD > file
3 $ echo XD > file
4 $ rm file
5 $ touch file
6 $ echo XD > file
FSEvents reports: event set
(event set after strip
)
-
Create | FSEventsIsFile
(Create | FSEventsIsFile
) -
Create | Write | FSEventsInodeMetaMod | FSEventsIsFile
(Write | FSEventsInodeMetaMod | FSEventsIsFile
) -
Create | Write | FSEventsIsFile | FSEventsInodeMetaMod
(Write | FSEventsIsFile | FSEventsInodeMetaMod
) -
Write | Create | Delete | FSEventsInodeMetaMod | FSEventsIsFile
(Delete | FSEventsIsFile
) -
Create | Delete | Write | FSEventsInodeMetaMod | FSEventsIsFile
(Create | Write | FSEventsInodeMetaMod | FSEventsIsFile
) -
Create | Delete | Write | FSEventsInodeMetaMod | FSEventsIsFile
(Delete | FSEventsIsFile
)
https://travis-ci.org/rjeczalik/notify/jobs/51878432