summaryrefslogtreecommitdiff
path: root/android/visibility_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/visibility_test.go')
-rw-r--r--android/visibility_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/visibility_test.go b/android/visibility_test.go
index eb4071eb7..fdf18ce00 100644
--- a/android/visibility_test.go
+++ b/android/visibility_test.go
@@ -1166,17 +1166,17 @@ func TestVisibility(t *testing.T) {
RunTest(t)
if test.effectiveVisibility != nil {
- checkEffectiveVisibility(result, test.effectiveVisibility)
+ checkEffectiveVisibility(t, result, test.effectiveVisibility)
}
})
}
}
-func checkEffectiveVisibility(result *TestResult, effectiveVisibility map[qualifiedModuleName][]string) {
+func checkEffectiveVisibility(t *testing.T, result *TestResult, effectiveVisibility map[qualifiedModuleName][]string) {
for moduleName, expectedRules := range effectiveVisibility {
rule := effectiveVisibilityRules(result.Config, moduleName)
stringRules := rule.Strings()
- result.AssertDeepEquals("effective rules mismatch", expectedRules, stringRules)
+ AssertDeepEquals(t, "effective rules mismatch", expectedRules, stringRules)
}
}