Skip to content

Commit

Permalink
Report failures with nok
Browse files Browse the repository at this point in the history
  • Loading branch information
msinton authored Oct 26, 2023
1 parent 4daa627 commit 390663c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hurl/src/report/tap/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn write_tap_file(filename: &str, testcases: &[&Testcase]) -> Result<(), Error>
s.push_str(format!("{start}..{end}\n").as_str());

for (i, testcase) in testcases.iter().enumerate() {
let success = if testcase.success { "" } else { "not " };
let success = if testcase.success { "" } else { "n" };
let number = i + 1;
let description = &testcase.description;
s.push_str(format!("{success}ok {number} - {description}\n").as_str());
Expand Down

0 comments on commit 390663c

Please sign in to comment.