From ff0d0e5d8c9b35c8930353e465246d56bf9a2f62 Mon Sep 17 00:00:00 2001 From: Thomas Churchman Date: Sun, 30 Jun 2024 20:20:10 +0200 Subject: [PATCH] test: improve assert message --- src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests.rs b/src/tests.rs index 3d17d41..bd13e96 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -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:?}"); }