(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestDisallowOnPathTypeBiggerThan2(t *testing.T) { |
| 48 | t.Parallel() |
| 49 | |
| 50 | w := newPattern(t, "/some/path") |
| 51 | |
| 52 | assert.False(t, w.allowReload(&watcher.Event{PathName: "/some/path/watch-me.php", PathType: watcher.PathTypeSymLink})) |
| 53 | } |
| 54 | |
| 55 | func TestWatchesCorrectDir(t *testing.T) { |
| 56 | t.Parallel() |
nothing calls this directly
no test coverage detected