(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestValidatePathRootBecomesEmpty(t *testing.T) { |
| 38 | got, err := validatePath("/") |
| 39 | if err != nil { |
| 40 | t.Fatalf("validatePath('/') error: %v", err) |
| 41 | } |
| 42 | if got != "" { |
| 43 | t.Errorf("validatePath('/') = %q, want empty string for root", got) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | func TestMakeRelocationArg(t *testing.T) { |
| 48 | arg, err := makeRelocationArg("src", "dst") |
nothing calls this directly
no test coverage detected