MCPcopy
hub / github.com/docker/compose / TestNoWatches

Function TestNoWatches

pkg/watch/notify_test.go:58–63  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

56}
57
58func TestNoWatches(t *testing.T) {
59 f := newNotifyFixture(t)
60 f.paths = nil
61 f.rebuildWatcher()
62 f.assertEvents()
63}
64
65func TestEventOrdering(t *testing.T) {
66 if runtime.GOOS == "windows" {

Callers

nothing calls this directly

Calls 3

newNotifyFixtureFunction · 0.85
rebuildWatcherMethod · 0.80
assertEventsMethod · 0.80

Tested by

no test coverage detected