(t *testing.T)
| 76 | } |
| 77 | |
| 78 | func TestCmdWorkdirAddRequiresExistingPath(t *testing.T) { |
| 79 | setupArchiveTestEnv(t) |
| 80 | if rc := cmdWorkdir([]string{"add", "/definitely/not/here/xyz"}); rc == 0 { |
| 81 | t.Errorf("expected error for non-existent path") |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | func TestCmdWorkdirList(t *testing.T) { |
| 86 | root := setupArchiveTestEnv(t) |
nothing calls this directly
no test coverage detected