--- Empty directory ---
(t *testing.T)
| 30 | // --- Empty directory --- |
| 31 | |
| 32 | func TestEdge_EmptyDirectory_List(t *testing.T) { |
| 33 | tmpDir := t.TempDir() |
| 34 | resetListFlags() |
| 35 | noColor = true |
| 36 | |
| 37 | output, err := captureListOutput(t, tmpDir) |
| 38 | if err != nil { |
| 39 | t.Fatalf("unexpected error: %v", err) |
| 40 | } |
| 41 | if !strings.Contains(output, "No tasks found") { |
| 42 | t.Errorf("expected 'No tasks found' message, got: %q", output) |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | func TestEdge_EmptyDirectory_Board(t *testing.T) { |
| 47 | tmpDir := t.TempDir() |
nothing calls this directly
no test coverage detected