use message in android.AssertStringMatches()
function does not currently use the message argument passed to it. outputting this as part of the error message would be helpful for any failures. Change-Id: I5307df1567e79d85f81edd5a9eb3d4a093041535
This commit is contained in:
parent
31a5b2c1ef
commit
141ab6adde
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue