From c8319cb7e2f80758f317ca652a77286f7f4d0ca2 Mon Sep 17 00:00:00 2001 From: Yoav Lavi Date: Mon, 11 Apr 2022 18:50:17 +0200 Subject: [PATCH] update tests --- crates/melody_cli/tests/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/melody_cli/tests/mod.rs b/crates/melody_cli/tests/mod.rs index afc529f3..68797443 100644 --- a/crates/melody_cli/tests/mod.rs +++ b/crates/melody_cli/tests/mod.rs @@ -36,7 +36,7 @@ fn cli_file_stdout_test() -> anyhow::Result<()> { some of "a"; "#; - let expected_output = "(?:A'){5}(?:(?xy))[abc](?:a\"|b|.)a+"; + let expected_output = "(?:A'){5}(?:(?xy))[abc](?:a\"|b|.)a+\n"; melody_file.write_str(&unindent(source))?; @@ -58,7 +58,7 @@ fn cli_stdin_stdout_test() -> anyhow::Result<()> { some of "b"; "#; - let expected_output = "a+b+"; + let expected_output = "a+b+\n"; command .write_stdin(source) @@ -79,7 +79,7 @@ fn cli_stdin_stdout_no_hyphen_test() -> anyhow::Result<()> { some of "b"; "#; - let expected_output = "a+b+"; + let expected_output = "a+b+\n"; command.write_stdin(source).assert().stdout(expected_output);