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

Function TestEngine_UnknownSource

apps/cli/internal/sync/engine_test.go:406–418  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

404}
405
406func TestEngine_UnknownSource(t *testing.T) {
407 dir := t.TempDir()
408 engine := &Engine{ConfigDir: dir}
409 srcCfg := SourceConfig{
410 Name: "nonexistent",
411 OutputDir: filepath.Join(dir, "tasks"),
412 }
413
414 _, err := engine.RunSync(srcCfg)
415 if err == nil {
416 t.Fatal("expected error for unknown source")
417 }
418}
419
420func TestEngine_MultipleTasksGetSequentialIDs(t *testing.T) {
421 sourceName := "test-sequential"

Callers

nothing calls this directly

Calls 1

RunSyncMethod · 0.95

Tested by

no test coverage detected