We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Small error in Hurl error ouput on Hurl 2.0.0
Given the following Hurl files:
GET https://csvbase.com/meripaterson/stock-exchanges HTTP 200 [Captures] lines: body split "\n" australia: variable "lines" nth 7 split "," [Asserts] variable "australia" == "Australia & Oceania"
(correct Hurl file should be variable "australia" nth 1 == "Australia & Oceania" The errors displayed is :
variable "australia" nth 1 == "Australia & Oceania"
error: Assert failure --> /tmp/csv.hurl:7:0 | 7 | variable "australia" == "Australia & Oceania" | actual: [string <7>, string <Australia & Oceania>, string <Australia>, string <Chi-X Australia>, string <CHIA>, string <2018-04-02 >] | expected: string <Australia & Oceania> |
The text was updated successfully, but these errors were encountered:
The bug can be reproduced because the response body is a CRLF text file. When we split:
lines: body split "\n"
We have a list of CR lines. When we display one of this CR line, the terminal cursor goes back to the begining of the current line.
With this capture:
lines: body split "\r\n"
We don't have the bug.
@fabricereix : maybe when we render a value (actual vs expected), we should replace real \n \r with "visible" chars.
\n
\r
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
Small error in Hurl error ouput on Hurl 2.0.0
Steps to reproduce
Given the following Hurl files:
(correct Hurl file should be
variable "australia" nth 1 == "Australia & Oceania"
The errors displayed is :
The text was updated successfully, but these errors were encountered: