Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yoav-lavi committed Apr 11, 2022
1 parent 11f8286 commit c8319cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/melody_cli/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn cli_file_stdout_test() -> anyhow::Result<()> {
some of "a";
"#;

let expected_output = "(?:A'){5}(?:(?<test>xy))[abc](?:a\"|b|.)a+";
let expected_output = "(?:A'){5}(?:(?<test>xy))[abc](?:a\"|b|.)a+\n";

melody_file.write_str(&unindent(source))?;

Expand All @@ -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)
Expand All @@ -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);

Expand Down

0 comments on commit c8319cb

Please sign in to comment.