Skip to content

Commit

Permalink
fix: error should be return in verify
Browse files Browse the repository at this point in the history
Signed-off-by: Ink33 <[email protected]>
  • Loading branch information
Ink-33 committed Aug 13, 2023
1 parent 6ee92f7 commit 1323c92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/runner/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,6 @@ func verifyResponseBodyData(caseName string, expect testing.Response, responseBo
}

err = Verify(expect, mapOutput)
if err != nil {
return nil, err
}
return
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/runner/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ func Verify(expect testing.Response, data map[string]any) (err error) {
break
}
}
return nil
return
}

0 comments on commit 1323c92

Please sign in to comment.