1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

fix kill list final new line test

This commit is contained in:
Smicry 2021-09-13 09:27:14 +08:00
parent 7d445612a2
commit db21fef95d

View file

@ -61,7 +61,7 @@ fn test_kill_list_final_new_line() {
new_ucmd!()
.arg("-l")
.succeeds()
.stdout_matches(&Regex::new("\\n$").unwrap());
.stdout_matches(&Regex::new("[\\n\\r]$").unwrap());
}
#[test]