Skip to content

Commit

Permalink
fix(compatibility-suite): header values can have optional spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 31, 2023
1 parent bd2f380 commit bce3543
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ class HttpMatching {
case BodyMismatch -> it.path == path
default -> false
}
it.description().contains(error) && pathMatches
def desc = it.description()
(desc.contains(error) || desc.matches(error)) && pathMatches
} != null
}
}
Expand Down

0 comments on commit bce3543

Please sign in to comment.