Merge "FailIfNoMatchingErrors specify using regex" am: 7ae3a3c170
am: d2c7b8405f
am: cc5250c2ab
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2198646 Change-Id: I047b78208c6cbea13f76433ecb0c09e80f9caf3b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
050eb0acd5
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ func FailIfNoMatchingErrors(t *testing.T, pattern string, errs []error) bool {
|
|||
}
|
||||
}
|
||||
if !found {
|
||||
t.Errorf("missing the expected error %q (checked %d error(s))", pattern, len(errs))
|
||||
t.Errorf("could not match the expected error regex %q (checked %d error(s))", pattern, len(errs))
|
||||
for i, err := range errs {
|
||||
t.Errorf("errs[%d] = %q", i, err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue