Merge "use message in android.AssertStringMatches()" into main

This commit is contained in:
Alix Espino 2023-10-05 13:56:02 +00:00 committed by Gerrit Code Review
commit b7a6720611

View file

@ -148,7 +148,7 @@ func AssertStringMatches(t *testing.T, message, s, expectedRex string) {
return return
} }
if !ok { if !ok {
t.Errorf("%s does not match regular expression %s", s, expectedRex) t.Errorf("%s: %s does not match regular expression %s", message, s, expectedRex)
} }
} }