mirror of https://github.com/stretchr/testify.git
Add return
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…
Reference in New Issue