Java test code clean-up
Remove unused parameters and make testJava return the config. Test: Ran all java tests. Change-Id: Iaa123f3fd93188e2f55452b887e1d340429cc710
This commit is contained in:
@@ -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"],
|
||||
|
Reference in New Issue
Block a user