Skip to content

Commit

Permalink
What if I do the expect with format too, does actions like that?
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyja committed Jan 27, 2024
1 parent 636fca6 commit 1de2524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/strip_ansi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ mod integration {
cmd.arg("-c");
cmd.write_stdin(format!("{}\n{}", "test.rs".blue(), "test.rb".red()))
.assert()
.stdout(" \x1b[34mtest.rs\x1B[0m\n\x1b[31mtest.rb\x1b[0m\n");
.stdout(format!(" {}\n{}\n", "test.rs".blue(), "test.rb".red()));
}
}

0 comments on commit 1de2524

Please sign in to comment.