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
+1 -1
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]