mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
Add return
This commit is contained in:
parent
ccb5e7f656
commit
1c717c00c1
@ -3192,6 +3192,7 @@ func (ctt *captureTestingT) checkResultAndErrMsg(t *testing.T, expectedRes, res
|
||||
}
|
||||
if res == ctt.failed {
|
||||
t.Errorf("The test result (%t) should be reflected in the testing.T type (%t)", res, !ctt.failed)
|
||||
return
|
||||
}
|
||||
contents := parseLabeledOutput(ctt.msg)
|
||||
if res == true {
|
||||
|
Loading…
x
Reference in New Issue
Block a user