Skip to content

Commit

Permalink
Add return
Browse files Browse the repository at this point in the history
  • Loading branch information
craig65535 committed Dec 31, 2024
1 parent ccb5e7f commit 1c717c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assert/assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1c717c0

Please sign in to comment.