Skip to content

Commit 7d33a81

Browse files
authored
Use @ instead of /
1 parent 7844adb commit 7d33a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/features/rest.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Feature: Testing RESTContext
66
And the header "Content-Type" should be equal to "text/html; charset=UTF-8"
77
And the header "Content-Type" should not be equal to "x-test/no-such-type"
88
And the header "Content-Type" should not contain "text/json"
9-
And the header "Content-Type" should match "/^text\/html; [a-zA-Z=-]+/"
9+
And the header "Content-Type" should match "@^text/html; [a-zA-Z=-]+@"
1010
And the header "Content-Type" should not match "/^no-such-type$/"
1111
And the header "xxx" should not exist
1212
And the response should expire in the future

0 commit comments

Comments
 (0)