hurl/integration/tests/error_assert_value_error.err

66 lines
1.6 KiB
Plaintext
Raw Normal View History

error: Assert Failure
2020-08-27 10:07:46 +03:00
--> tests/error_assert_value_error.hurl:4:0
|
4 | header "content-type" equals "XXX"
| actual: string <text/html; charset=utf-8>
| expected: string <XXX>
|
error: Assert Failure
2020-08-27 10:07:46 +03:00
--> tests/error_assert_value_error.hurl:5:0
|
2021-06-27 11:11:02 +03:00
5 | header "content-type" notEquals "text/html; charset=utf-8"
| actual: string <text/html; charset=utf-8>
| expected: string <text/html; charset=utf-8>
|
error: Assert Failure
--> tests/error_assert_value_error.hurl:6:0
|
6 | jsonpath "$.id" equals "000001"
2020-08-27 10:07:46 +03:00
| actual: none
| expected: string <000001>
|
error: Assert Failure
2021-06-27 11:11:02 +03:00
--> tests/error_assert_value_error.hurl:7:0
2020-08-27 10:07:46 +03:00
|
2021-06-27 11:11:02 +03:00
7 | jsonpath "$.values" includes 100
2020-08-27 10:07:46 +03:00
| actual: [int <1>, int <2>, int <3>]
| expected: includes int <100>
|
2020-10-19 18:55:03 +03:00
error: Assert Failure
2021-06-27 11:11:02 +03:00
--> tests/error_assert_value_error.hurl:8:0
2020-10-19 18:55:03 +03:00
|
2021-06-27 11:11:02 +03:00
8 | jsonpath "$.values" not contains "Hello"
2020-10-19 18:55:03 +03:00
| actual: [int <1>, int <2>, int <3>]
| expected: not contains string <Hello>
| >>> types between actual and expected are not consistent
|
2020-11-21 12:04:45 +03:00
error: Assert Failure
2021-06-27 11:11:02 +03:00
--> tests/error_assert_value_error.hurl:9:0
2020-11-21 12:04:45 +03:00
|
2021-06-27 11:11:02 +03:00
9 | jsonpath "$.count" greaterThan 5
2020-11-21 12:04:45 +03:00
| actual: int <2>
| expected: greater than int <5>
2020-11-21 12:04:45 +03:00
|
2020-11-28 20:37:31 +03:00
error: Assert Failure
2021-06-27 11:11:02 +03:00
--> tests/error_assert_value_error.hurl:10:0
2020-11-28 20:37:31 +03:00
|
2021-06-27 11:11:02 +03:00
10 | jsonpath "$.count" isFloat
2020-11-28 20:37:31 +03:00
| actual: int <2>
| expected: float
|
error: Assert Failure
--> tests/error_assert_value_error.hurl:11:0
|
11 | bytes contains hex,00;
| actual: byte array <7b202276616c756573223a205b312c322c335d2c2022636f756e74223a20327d>
| expected: contains byte array <00>
|