Skip to content

Commit

Permalink
feat: no debug fmt in result mismatch output
Browse files Browse the repository at this point in the history
Co-authored-by: warren2k <[email protected]>
  • Loading branch information
mightyiam and warren2k committed Jan 14, 2024
1 parent fd9ba71 commit 9f7d700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/eelco/src/app/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl State {
if sanitized != expected_result.as_str() {
anyhow::bail!(indoc::formatdoc! {"
{id}
actual (sanitized): {sanitized:?}
actual (sanitized): {sanitized}
expected : {expected_result}"
})
}
Expand Down
2 changes: 1 addition & 1 deletion crates/eelco/tests/repl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn result_mismatch() {

eelco.assert().failure().stderr(formatdoc! {r#"
Error: {file_path}:1
actual (sanitized): "2"
actual (sanitized): 2
expected : 3
"#});
});
Expand Down

0 comments on commit 9f7d700

Please sign in to comment.