mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
fix kill list final new line test
This commit is contained in:
parent
db21fef95d
commit
89428a77f3
1 changed files with 2 additions and 4 deletions
|
@ -58,10 +58,8 @@ fn test_kill_list_all_signals() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_kill_list_final_new_line() {
|
fn test_kill_list_final_new_line() {
|
||||||
new_ucmd!()
|
let re = Regex::new("\\n$").unwrap();
|
||||||
.arg("-l")
|
assert!(re.is_match(new_ucmd!().arg("-l").succeeds().stdout_str()));
|
||||||
.succeeds()
|
|
||||||
.stdout_matches(&Regex::new("[\\n\\r]$").unwrap());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue