We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7844adb commit 7d33a81Copy full SHA for 7d33a81
tests/features/rest.feature
@@ -6,7 +6,7 @@ Feature: Testing RESTContext
6
And the header "Content-Type" should be equal to "text/html; charset=UTF-8"
7
And the header "Content-Type" should not be equal to "x-test/no-such-type"
8
And the header "Content-Type" should not contain "text/json"
9
- And the header "Content-Type" should match "/^text\/html; [a-zA-Z=-]+/"
+ And the header "Content-Type" should match "@^text/html; [a-zA-Z=-]+@"
10
And the header "Content-Type" should not match "/^no-such-type$/"
11
And the header "xxx" should not exist
12
And the response should expire in the future
0 commit comments