create test case for duplicate response section

This commit is contained in:
Tyler Brockmeyer 2025-07-24 22:45:14 -05:00
parent 302b0b2457
commit c361a4aa28
No known key found for this signature in database
GPG Key ID: 674CF37A19FECE8B
5 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,7 @@
error: Parsing section
--> tests_error_parser/duplicate_response_section.hurl:5:1
|
5 | [Asserts]
| ^ the section is already defined
|

View File

@ -0,0 +1,7 @@
GET http://localhost:8000/hello
HTTP 200
[Asserts]
jsonpath "$.toto" == 23
[Asserts]
jsonpath "$.tata" == 24

View File

@ -0,0 +1,3 @@
Set-StrictMode -Version latest
$ErrorActionPreference = 'Stop'
hurl tests_error_parser/duplicate_response_section.hurl

View File

@ -0,0 +1,3 @@
#!/bin/bash
set -Eeuo pipefail
hurl tests_error_parser/duplicate_response_section.hurl