Skip to content

Commit deb7887

Browse files
committed
style: fix test_cksum.rs formatting
Apply cargo fmt formatting to test_cksum.rs: - Revert ALGOS array to two-line format (project standard) - Remove extra blank lines between test functions
1 parent 454ca7a commit deb7887

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/by-util/test_cksum.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ use uutests::util::TestScenario;
1010
use uutests::util_name;
1111

1212
const ALGOS: [&str; 12] = [
13-
"sysv", "bsd", "crc", "crc32b", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "blake2b", "sm3",
13+
"sysv", "bsd", "crc", "crc32b", "md5", "sha1", "sha224", "sha256", "sha384", "sha512",
14+
"blake2b", "sm3",
1415
];
1516

1617
#[test]
@@ -443,8 +444,6 @@ fn test_raw_multiple_files() {
443444
.stderr_contains("cksum: the --raw option is not supported with multiple files");
444445
}
445446

446-
447-
448447
#[test]
449448
fn test_base64_raw_conflicts() {
450449
new_ucmd!()

0 commit comments

Comments
 (0)