Skip to content

Commit

Permalink
Fixed some failing tests on go master
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigodiez committed Nov 27, 2017
1 parent 4466488 commit 733ac34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func Status(res *http.Response, test types.Test) (bool, error) {

if res.StatusCode != test.Should.HaveStatus {
return false, errors.New(fmt.Sprintf("status code %s was expected but got %s instead", test.Should.HaveStatus, res.StatusCode))
return false, errors.New(fmt.Sprintf("status code %d was expected but got %d instead", test.Should.HaveStatus, res.StatusCode))
}

return true, nil
Expand Down

0 comments on commit 733ac34

Please sign in to comment.