summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-03-19 16:22:12 -0700
committerColin Cross <ccross@android.com>2021-03-25 11:06:45 -0700
commitce3a51dc96fe82fabc3877fe927214c72cff0119 (patch)
tree5174c77327b88335f25227ef33c6f59d08fe4f07 /java/java_test.go
parente55bd423dfd3acb1d4dda6c2f120abf00578d42e (diff)
Support multiple rsp files in RuleBuilder
The lint rule is manually creating a second rsp file because Ninja only supports on per rule. Move the support into RuleBuilder so that it can apply the same rewrites that it does to the primary one. Test: TestRuleBuilder_Build Change-Id: Iec250a2d60e74ccf1b4ad085a960fec6867ea559
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 13b3e2a90..5a130448f 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -628,7 +628,7 @@ prebuilt_stubs_sources {
}
t.Run("empty/missing directory", func(t *testing.T) {
- test(t, "empty-directory", []string{})
+ test(t, "empty-directory", nil)
})
t.Run("non-empty set of sources", func(t *testing.T) {