MCPcopy Create free account
hub / github.com/php/frankenphp / hasDir

Function hasDir

internal/watcher/pattern_test.go:367–373  ·  view source on GitHub ↗
(t *testing.T, p string, dir string)

Source from the content-addressed store, hash-verified

365}
366
367func hasDir(t *testing.T, p string, dir string) {
368 t.Helper()
369
370 w := newPattern(t, p)
371
372 assert.Equal(t, normalizePath(t, dir), w.value)
373}
374
375func assertPatternMatch(t *testing.T, p, fileName string) {
376 t.Helper()

Callers 1

TestWatchesCorrectDirFunction · 0.85

Calls 2

newPatternFunction · 0.85
normalizePathFunction · 0.85

Tested by

no test coverage detected