Skip to content

Commit 1f0dd3a

Browse files
committed
Update assert snippets.
1 parent 8c4b8ec commit 1f0dd3a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sites/hurl.dev/_docs/asserting-response.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ after this delimiter, you'll find the implicit asserts, then an `[Asserts]` sect
1616
```hurl
1717
GET https://example.org/api/cats
1818
HTTP 200
19-
Content-Type: application/json; charset=utf-8 # Implicit assert on Content-Type Header
20-
[Asserts] # Explicit asserts section
19+
# Implicit assert on `Content-Type` Header
20+
Content-Type: application/json; charset=utf-8
21+
[Asserts]
22+
# Explicit asserts section
2123
bytes count == 120
2224
header "Content-Type" contains "utf-8"
2325
jsonpath "$.cats" count == 49

0 commit comments

Comments
 (0)