diff options
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 |
commit | f9a0443a9c66ae9cc1d8466be4ddf120eb884ae6 (patch) | |
tree | 92e488c6f06ae1709df9e03f5837867846f0747e /java/kotlin_test.go | |
parent | 63f4b57a7f6b4050b1fcc81eba3f031ebabf2da9 (diff) | |
download | build_soong-f9a0443a9c66ae9cc1d8466be4ddf120eb884ae6.tar.gz build_soong-f9a0443a9c66ae9cc1d8466be4ddf120eb884ae6.tar.bz2 build_soong-f9a0443a9c66ae9cc1d8466be4ddf120eb884ae6.zip |
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/kotlin_test.go')
-rw-r--r-- | java/kotlin_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/kotlin_test.go b/java/kotlin_test.go index e0eb0c06..5c6d45f4 100644 --- a/java/kotlin_test.go +++ b/java/kotlin_test.go @@ -22,7 +22,7 @@ import ( ) func TestKotlin(t *testing.T) { - ctx := testJava(t, ` + ctx, _ := testJava(t, ` java_library { name: "foo", srcs: ["a.java", "b.kt"], @@ -84,7 +84,7 @@ func TestKotlin(t *testing.T) { } func TestKapt(t *testing.T) { - ctx := testJava(t, ` + ctx, _ := testJava(t, ` java_library { name: "foo", srcs: ["a.java", "b.kt"], |