refactor: GenSummary return path

This commit is contained in:
lilong.129
2024-09-13 20:43:16 +08:00
parent e754fb41e1
commit f8c2c3c7fb
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ func (r *HRPRunner) Run(testcases ...ITestCase) (err error) {
// save summary
if r.saveTests {
if err := s.GenSummary(); err != nil {
if _, err := s.GenSummary(); err != nil {
return err
}
}