hurl/integration/tests_error_parser/invalid_escape.hurl

7 lines
207 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
GET http://localhost:8000/hello
HTTP/1.1 200
[Asserts]
xpath "//item" equals "\d\d\d\d-\d\d-\d\d"
#xpath "//item" contains "\\d\\d\\d\\d-\\d\\d-\\d\\d"
# you need to escape twice (one for regex one for json