MCPcopy Create free account
hub / github.com/coder/coder / TestIndex_RemoveNonexistent

Function TestIndex_RemoveNonexistent

agent/filefinder/delta_test.go:104–110  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

102}
103
104func TestIndex_RemoveNonexistent(t *testing.T) {
105 t.Parallel()
106 idx := filefinder.NewIndex()
107 if idx.Remove("nonexistent.go") {
108 t.Fatal("expected Remove to return false for missing path")
109 }
110}
111
112func TestIndex_PathNormalization(t *testing.T) {
113 t.Parallel()

Callers

nothing calls this directly

Calls 3

RemoveMethod · 0.95
NewIndexFunction · 0.92
FatalMethod · 0.80

Tested by

no test coverage detected