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

add kill list final new line test

This commit is contained in:
Smicry 2021-09-13 00:15:53 +08:00
parent 7e577476d8
commit 7d445612a2

View file

@ -56,6 +56,14 @@ fn test_kill_list_all_signals() {
.stdout_contains("HUP"); .stdout_contains("HUP");
} }
#[test]
fn test_kill_list_final_new_line() {
new_ucmd!()
.arg("-l")
.succeeds()
.stdout_matches(&Regex::new("\\n$").unwrap());
}
#[test] #[test]
fn test_kill_list_all_signals_as_table() { fn test_kill_list_all_signals_as_table() {
// Check for a few signals. Do not try to be comprehensive. // Check for a few signals. Do not try to be comprehensive.