Add return

pull/1345/head
Craig Davison 2024-12-31 15:35:31 -07:00
parent ccb5e7f656
commit 1c717c00c1
1 changed files with 1 additions and 0 deletions

View File

@ -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 {