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

Function TestVerify_NoField

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

Source from the content-addressed store, hash-verified

265}
266
267func TestVerify_NoField(t *testing.T) {
268 tmpDir := createVerifyTestFiles(t)
269 resetVerifyFlags()
270 taskDir = tmpDir
271 verifyTaskID = "005"
272
273 output, err := captureVerifyOutput(t)
274 if err != nil {
275 t.Fatalf("unexpected error: %v", err)
276 }
277
278 if !strings.Contains(output, "No verification checks defined") {
279 t.Errorf("expected no-checks message, got: %s", output)
280 }
281}
282
283func TestVerify_TaskNotFound(t *testing.T) {
284 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