From 4973d45d0660f2898374d8388cfdf3c6a77cd8d4 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Thu, 23 Mar 2023 14:22:46 +0900 Subject: [PATCH] Add t.helper() to AssertStringListContainsEquals Bug: n/a Test: m nothing Change-Id: I49d87ac75edbc4856eb5a178c9085134a4185487 --- android/test_asserts.go | 1 + 1 file changed, 1 insertion(+) 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 {