MCPcopy Create free account
hub / github.com/driangle/taskmd / TestVerify_CustomDir

Function TestVerify_CustomDir

apps/cli/internal/cli/verify_test.go:363–377  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

361}
362
363func TestVerify_CustomDir(t *testing.T) {
364 tmpDir := createVerifyTestFiles(t)
365 resetVerifyFlags()
366 taskDir = tmpDir
367 verifyTaskID = "007"
368
369 output, err := captureVerifyOutput(t)
370 if err != nil {
371 t.Fatalf("unexpected error: %v", err)
372 }
373
374 if !strings.Contains(output, "PASS") {
375 t.Errorf("expected PASS in output, got: %s", output)
376 }
377}
378
379func TestVerify_FailFast(t *testing.T) {
380 tmpDir := createVerifyTestFiles(t)

Callers

nothing calls this directly

Calls 3

createVerifyTestFilesFunction · 0.85
resetVerifyFlagsFunction · 0.85
captureVerifyOutputFunction · 0.85

Tested by

no test coverage detected