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

test(cksum): un-ignore tests that are now implemented

This commit is contained in:
Dorian Péron 2024-12-07 02:30:30 +01:00 committed by Dorian Péron
parent 567bbc5f3c
commit 958222a07c
2 changed files with 1 additions and 4 deletions

View file

@ -1337,8 +1337,7 @@ mod tests {
// Test leading space before checksum line
let line_algo_based_leading_space =
OsString::from(" MD5 (example.txt) = d41d8cd98f00b204e9800998ecf8427e");
let res = LineInfo::parse(&line_algo_based_leading_space, &mut cached_regex);
assert!(res.is_some());
let line_info = LineInfo::parse(&line_algo_based_leading_space, &mut cached_regex).unwrap();
assert_eq!(line_info.format, LineFormat::AlgoBased);
assert!(cached_regex.is_none());

View file

@ -1480,7 +1480,6 @@ mod check_utf8 {
}
}
#[ignore = "not yet implemented"]
#[test]
fn test_check_blake_length_guess() {
let correct_lines = [
@ -1523,7 +1522,6 @@ fn test_check_blake_length_guess() {
.stderr_contains("foo.sums: no properly formatted checksum lines found");
}
#[ignore = "not yet implemented"]
#[test]
fn test_check_confusing_base64() {
let cksum = "BLAKE2b-48 (foo.dat) = fc1f97C4";