summaryrefslogtreecommitdiff
path: root/java/dexpreopt_test.go
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2019-07-17 11:15:09 -0700
committer Jaewoong Jung <jungjw@google.com> 2019-07-17 11:15:09 -0700
commitf9a0443a9c66ae9cc1d8466be4ddf120eb884ae6 (patch)
tree92e488c6f06ae1709df9e03f5837867846f0747e /java/dexpreopt_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/dexpreopt_test.go')
-rw-r--r--java/dexpreopt_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt_test.go b/java/dexpreopt_test.go
index 7d0109fda..22b7bb9d5 100644
--- a/java/dexpreopt_test.go
+++ b/java/dexpreopt_test.go
@@ -142,7 +142,7 @@ func TestDexpreoptEnabled(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
- ctx := testJava(t, test.bp)
+ ctx, _ := testJava(t, test.bp)
dexpreopt := ctx.ModuleForTests("foo", "android_common").MaybeDescription("dexpreopt")
enabled := dexpreopt.Rule != nil