summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2023-03-23 14:22:46 +0900
committer Jooyung Han <jooyung@google.com> 2023-03-23 14:22:46 +0900
commit4973d45d0660f2898374d8388cfdf3c6a77cd8d4 (patch)
tree286042ac2c51d5f45b7a9bf5e4713ca396455465
parent5c309aa37a52103e0dd60ff47652c8f847aad05e (diff)
Add t.helper() to AssertStringListContainsEquals
Bug: n/a Test: m nothing Change-Id: I49d87ac75edbc4856eb5a178c9085134a4185487
-rw-r--r--android/test_asserts.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/test_asserts.go b/android/test_asserts.go
index 064f6562b..4143f150d 100644
--- a/android/test_asserts.go
+++ b/android/test_asserts.go
@@ -160,6 +160,7 @@ func AssertStringListDoesNotContain(t *testing.T, message string, list []string,
// the value of the expected bool. If the expectation does not hold it reports an error prefixed with
// the supplied message and including a reason for why it failed.
func AssertStringListContainsEquals(t *testing.T, message string, list []string, s string, expected bool) {
+ t.Helper()
if expected {
AssertStringListContains(t, message, list, s)
} else {