fix: unittest

This commit is contained in:
xucong053
2022-09-28 16:39:23 +08:00
parent 16daf7a250
commit c9f107c0bb

View File

@@ -215,7 +215,7 @@ func (r *HRPRunner) Run(testcases ...ITestCase) error {
s.appendCaseSummary(caseSummary)
if err1 != nil || err2 != nil {
log.Error().Err(err1).Msg("[Run] run testcase failed")
runErr = err
runErr = err1
break
}
}