(t *testing.T, p, fileName string)
| 373 | } |
| 374 | |
| 375 | func assertPatternMatch(t *testing.T, p, fileName string) { |
| 376 | t.Helper() |
| 377 | |
| 378 | w := newPattern(t, p) |
| 379 | |
| 380 | assert.True(t, w.allowReload(&watcher.Event{PathName: normalizePath(t, fileName)})) |
| 381 | } |
| 382 | |
| 383 | func assertPatternNotMatch(t *testing.T, p, fileName string) { |
| 384 | t.Helper() |
no test coverage detected