summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-11-19 18:38:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-19 18:38:16 +0000
commite63ab5ea0244b4bdb431db7872030318188ebc2c (patch)
tree0b6c48037641f86b4d32e7694b9c60b00d688f44 /java/java_test.go
parent7a64f7e5b61f4e0c784c46eb94086523bb987222 (diff)
parent0029898a847d28abee46049ca6dd4d1188886e69 (diff)
Merge "java link time error improve"
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 845a03a4d..31a974cae 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -202,7 +202,7 @@ func TestJavaLinkType(t *testing.T) {
}
`)
- testJavaError(t, "Adjust sdk_version: property of the source or target module so that target module is built with the same or smaller API set than the source.", `
+ testJavaError(t, "consider adjusting sdk_version: OR platform_apis:", `
java_library {
name: "foo",
srcs: ["a.java"],
@@ -246,7 +246,7 @@ func TestJavaLinkType(t *testing.T) {
}
`)
- testJavaError(t, "Adjust sdk_version: property of the source or target module so that target module is built with the same or smaller API set than the source.", `
+ testJavaError(t, "consider adjusting sdk_version: OR platform_apis:", `
java_library {
name: "foo",
srcs: ["a.java"],