Skip to content

Commit

Permalink
test: improve assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jun 30, 2024
1 parent c7e4149 commit ff0d0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ fn bash_echo() {
let screen = run(cli).unwrap();
let content: String = screen.cells().map(|c| c.c).collect();

assert_eq!(&content[..12], "hello, world");
assert_eq!(&content[..12], "hello, world", "terminal content was: {content:?}");
}

0 comments on commit ff0d0e5

Please sign in to comment.