summaryrefslogtreecommitdiff
path: root/android/makevars_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/makevars_test.go')
-rw-r--r--android/makevars_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/makevars_test.go b/android/makevars_test.go
index 95e4b59c2..387d45759 100644
--- a/android/makevars_test.go
+++ b/android/makevars_test.go
@@ -23,7 +23,7 @@ func TestDistFilesInGenerateAndroidBuildActions(t *testing.T) {
}
`)
- lateContents := string(result.SingletonForTests("makevars").Singleton().(*makeVarsSingleton).lateForTesting)
+ lateContents := string(result.SingletonForTests(t, "makevars").Singleton().(*makeVarsSingleton).lateForTesting)
matched, err := regexp.MatchString(`call dist-for-goals,my_goal,.*/my_file.txt:my_file.txt\)`, lateContents)
if err != nil || !matched {
t.Fatalf("Expected a dist of my_file.txt, but got: %s", lateContents)