You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon investigation of the failing Dredd CI after using the newest version of Gavel, I have found out that the error message for non-matching status code is not per spec.
Current behavior
Real and expected data does not match.
This is the default output of the TextDiff validator that Gavel uses for status codes validation.
Expected behavior
Status code is '${real}' instead of '${expected}'
This is an explicit message that has been mapped manually previously:
Upon investigation of the failing Dredd CI after using the newest version of Gavel, I have found out that the error message for non-matching status code is not per spec.
Current behavior
Expected behavior
This is an explicit message that has been mapped manually previously:
gavel.js/lib/mixins/validatable-http-message.js
Lines 412 to 420 in c03a0f9
It seems that this mapping has been lost during the refactoring. It needs to be added back for Gavel to behave per spec.
The text was updated successfully, but these errors were encountered: