Merge "use message in android.AssertStringMatches()" into main am: b7a6720611 am: 5511afdcaa am: 00b7ab6ad0

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2773304

Change-Id: Idd810158809866869f9b5e13f488efb3855e8321
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Alix Espino 2023-10-05 15:52:03 +00:00 committed by Automerger Merge Worker
commit 2503eb1321

View file

@ -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)
}
}