summaryrefslogtreecommitdiff
path: root/cc/proto_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-03-30 19:44:07 +0100
committer Paul Duffin <paulduffin@google.com> 2021-03-30 20:06:22 +0100
commitafdd4061ee38966019583d692676a41509555d4e (patch)
tree05b56c1f3f6fc71cf047153ab37795086e30f8b4 /cc/proto_test.go
parenta71a67a4f5b6e5cdaa1dea65465770412fd9e25d (diff)
Rename OptionalPath.RelativeToPath -> RelativeToTop
Bug: 183650682 Test: m nothing Change-Id: I95239c2273e715e8c4c15a4a02967e01f6913234
Diffstat (limited to 'cc/proto_test.go')
-rw-r--r--cc/proto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/proto_test.go b/cc/proto_test.go
index 3d636fb46..b9c89c744 100644
--- a/cc/proto_test.go
+++ b/cc/proto_test.go
@@ -61,7 +61,7 @@ func TestProto(t *testing.T) {
t.Errorf("expected %q in %q", w, cmd)
}
- foobarPath := foobar.Module().(android.HostToolProvider).HostToolPath().RelativeToPath().String()
+ foobarPath := foobar.Module().(android.HostToolProvider).HostToolPath().RelativeToTop().String()
if w := "--plugin=protoc-gen-foobar=" + foobarPath; !strings.Contains(cmd, w) {
t.Errorf("expected %q in %q", w, cmd)