MCPcopy Index your code
hub / github.com/php/frankenphp / assertPatternNotMatch

Function assertPatternNotMatch

internal/watcher/pattern_test.go:383–389  ·  view source on GitHub ↗
(t *testing.T, p, fileName string)

Source from the content-addressed store, hash-verified

381}
382
383func assertPatternNotMatch(t *testing.T, p, fileName string) {
384 t.Helper()
385
386 w := newPattern(t, p)
387
388 assert.False(t, w.allowReload(&watcher.Event{PathName: normalizePath(t, fileName)}))
389}

Calls 3

newPatternFunction · 0.85
normalizePathFunction · 0.85
allowReloadMethod · 0.80

Tested by

no test coverage detected