summaryrefslogtreecommitdiff
path: root/java/plugin_test.go
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2019-07-17 11:15:09 -0700
committerJaewoong Jung <jungjw@google.com>2019-07-17 11:15:09 -0700
commitf9a0443a9c66ae9cc1d8466be4ddf120eb884ae6 (patch)
tree92e488c6f06ae1709df9e03f5837867846f0747e /java/plugin_test.go
parent63f4b57a7f6b4050b1fcc81eba3f031ebabf2da9 (diff)
Java test code clean-up
Remove unused parameters and make testJava return the config. Test: Ran all java tests. Change-Id: Iaa123f3fd93188e2f55452b887e1d340429cc710
Diffstat (limited to 'java/plugin_test.go')
-rw-r--r--java/plugin_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/plugin_test.go b/java/plugin_test.go
index d1aef2c19..c7913d3db 100644
--- a/java/plugin_test.go
+++ b/java/plugin_test.go
@@ -20,7 +20,7 @@ import (
)
func TestNoPlugin(t *testing.T) {
- ctx := testJava(t, `
+ ctx, _ := testJava(t, `
java_library {
name: "foo",
srcs: ["a.java"],
@@ -44,7 +44,7 @@ func TestNoPlugin(t *testing.T) {
}
func TestPlugin(t *testing.T) {
- ctx := testJava(t, `
+ ctx, _ := testJava(t, `
java_library {
name: "foo",
srcs: ["a.java"],
@@ -83,7 +83,7 @@ func TestPlugin(t *testing.T) {
}
func TestPluginGeneratesApi(t *testing.T) {
- ctx := testJava(t, `
+ ctx, _ := testJava(t, `
java_library {
name: "foo",
srcs: ["a.java"],