fix: status code info

This commit is contained in:
jamesgeorge007
2020-01-27 18:19:27 +05:30
parent dacf479838
commit a55eb11f5b

View File

@@ -161,7 +161,7 @@ class Expectation {
let code = parseInt(this.expectValue); let code = parseInt(this.expectValue);
if (Number.isNaN(code)) { if (Number.isNaN(code)) {
return this._fail( return this._fail(
`Expected 200-level status but could not parse value ${this.expectValue}` `Expected 500-level status but could not parse value ${this.expectValue}`
); );
} }
return this._satisfies(code >= 500 && code < 600) return this._satisfies(code >= 500 && code < 600)