MCPcopy Index your code
hub / github.com/cortesi/devd / TestNotFoundSearchPaths

Function TestNotFoundSearchPaths

fileserver/fileserver_test.go:89–96  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

87}
88
89func TestNotFoundSearchPaths(t *testing.T) {
90 for _, tt := range notFoundSearchPathsSpecs {
91 paths := notFoundSearchPaths(tt.path, tt.spec)
92 if !reflect.DeepEqual(paths, tt.result) {
93 t.Errorf("Wanted %#v, got %#v", tt.result, paths)
94 }
95 }
96}
97
98var matchTypesSpecs = []struct {
99 spec string

Callers

nothing calls this directly

Calls 1

notFoundSearchPathsFunction · 0.85

Tested by

no test coverage detected