Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect JSON export for lessThan predicate #212

Closed
jcamiel opened this issue Jun 21, 2021 · 0 comments · Fixed by #218
Closed

Fix incorrect JSON export for lessThan predicate #212

jcamiel opened this issue Jun 21, 2021 · 0 comments · Fixed by #218
Labels
bug Something isn't working
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Jun 21, 2021

The following Hurl file:

GET http://localhost/api
HTTP/1.1 200
[Asserts]
jsonpath "$.books" lessThan 4

is exported as

{"entries":[{"request":{"method":"GET","url":"http://localhost/api"},"response":{"version":"HTTP/1.1","status":200,"asserts":[{"query":{"type":"jsonpath","expr":"$.books"},"predicate":{"type":"greater","value":4}}]}}]}```

lessThan is exported with greater

@jcamiel jcamiel added bug Something isn't working 1.2.0 labels Jun 21, 2021
@fabricereix fabricereix added 1.3.0 and removed 1.2.0 labels Jun 23, 2021
@fabricereix fabricereix linked a pull request Jun 24, 2021 that will close this issue
@fabricereix fabricereix changed the title Incorrect JSON export for lessThan predicate Fix incorrect JSON export for lessThan predicate Sep 1, 2021
@lepapareil lepapareil added this to the 1.3.0 milestone Oct 12, 2021
@lepapareil lepapareil removed the 1.3.0 label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants