(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestMakeRelocationArg(t *testing.T) { |
| 48 | arg, err := makeRelocationArg("src", "dst") |
| 49 | if err != nil { |
| 50 | t.Fatalf("makeRelocationArg error: %v", err) |
| 51 | } |
| 52 | if arg.FromPath != "/src" { |
| 53 | t.Errorf("FromPath = %q, want %q", arg.FromPath, "/src") |
| 54 | } |
| 55 | if arg.ToPath != "/dst" { |
| 56 | t.Errorf("ToPath = %q, want %q", arg.ToPath, "/dst") |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | func TestRelocationDestination(t *testing.T) { |
| 61 | tests := []struct { |
nothing calls this directly
no test coverage detected