create test case for duplicate response section
This commit is contained in:
parent
302b0b2457
commit
c361a4aa28
|
|
@ -0,0 +1,7 @@
|
|||
error: Parsing section
|
||||
--> tests_error_parser/duplicate_response_section.hurl:5:1
|
||||
|
|
||||
5 | [Asserts]
|
||||
| ^ the section is already defined
|
||||
|
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
2
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
GET http://localhost:8000/hello
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
jsonpath "$.toto" == 23
|
||||
[Asserts]
|
||||
jsonpath "$.tata" == 24
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Set-StrictMode -Version latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
hurl tests_error_parser/duplicate_response_section.hurl
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
hurl tests_error_parser/duplicate_response_section.hurl
|
||||
Loading…
Reference in New Issue