summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2022-09-09 17:27:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-09-09 17:27:23 +0000
commit7ae3a3c170732203e6089c952a1d98cd0c29138a (patch)
treeef0834f24798afc295c020029038f1fb3ce598ae /android/testing.go
parent095a1af1a16e8c45f660c0d53c9bba59a9044cae (diff)
parent082e20655efa39edd237992cf2dc428af090b7db (diff)
Merge "FailIfNoMatchingErrors specify using regex"
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/testing.go b/android/testing.go
index 37085011b..7b74c89a2 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -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)
}