diff --git a/android/test_asserts.go b/android/test_asserts.go index 3a2cb1ad9..c33ade5a2 100644 --- a/android/test_asserts.go +++ b/android/test_asserts.go @@ -148,7 +148,7 @@ func AssertStringMatches(t *testing.T, message, s, expectedRex string) { return } 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) } }