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

cat: prefix two test fns with "test_"

This commit is contained in:
Daniel Hofstetter 2024-03-04 09:41:09 +01:00 committed by GitHub
parent cd70d7dec1
commit 679b9e2c0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -324,7 +324,7 @@ fn test_stdin_show_ends() {
} }
#[test] #[test]
fn squeeze_all_files() { fn test_squeeze_all_files() {
// empty lines at the end of a file are "squeezed" together with empty lines at the beginning // empty lines at the end of a file are "squeezed" together with empty lines at the beginning
let (at, mut ucmd) = at_and_ucmd!(); let (at, mut ucmd) = at_and_ucmd!();
at.write("input1", "a\n\n"); at.write("input1", "a\n\n");
@ -335,7 +335,7 @@ fn squeeze_all_files() {
} }
#[test] #[test]
fn squeeze_all_files_repeated() { fn test_squeeze_all_files_repeated() {
// empty lines at the end of a file are "squeezed" together with empty lines at the beginning // empty lines at the end of a file are "squeezed" together with empty lines at the beginning
let (at, mut ucmd) = at_and_ucmd!(); let (at, mut ucmd) = at_and_ucmd!();
at.write("input1", "a\n\n"); at.write("input1", "a\n\n");