Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Commit 7d33a81

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/features/rest.feature

Lines changed: 1 addition & 1 deletion
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)