MCPcopy Create free account
hub / github.com/JordanCoin/codemap / TestRelativePath

Function TestRelativePath

main_test.go:244–254  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

242}
243
244func TestRelativePath(t *testing.T) {
245 // Test with relative path
246 output, err := runCodemap("./scanner")
247 if err != nil {
248 t.Fatalf("Relative path failed: %v", err)
249 }
250
251 if output == "" {
252 t.Error("Should produce output for relative path")
253 }
254}
255
256func TestCurrentDirectory(t *testing.T) {
257 // Test default (current directory)

Callers

nothing calls this directly

Calls 2

runCodemapFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected