File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/uucore/src/lib/features Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1337,8 +1337,7 @@ mod tests {
13371337 // Test leading space before checksum line
13381338 let line_algo_based_leading_space =
13391339 OsString :: from ( " MD5 (example.txt) = d41d8cd98f00b204e9800998ecf8427e" ) ;
1340- let res = LineInfo :: parse ( & line_algo_based_leading_space, & mut cached_regex) ;
1341- assert ! ( res. is_some( ) ) ;
1340+ let line_info = LineInfo :: parse ( & line_algo_based_leading_space, & mut cached_regex) . unwrap ( ) ;
13421341 assert_eq ! ( line_info. format, LineFormat :: AlgoBased ) ;
13431342 assert ! ( cached_regex. is_none( ) ) ;
13441343
Original file line number Diff line number Diff line change @@ -1480,7 +1480,6 @@ mod check_utf8 {
14801480 }
14811481}
14821482
1483- #[ ignore = "not yet implemented" ]
14841483#[ test]
14851484fn test_check_blake_length_guess ( ) {
14861485 let correct_lines = [
@@ -1523,7 +1522,6 @@ fn test_check_blake_length_guess() {
15231522 . stderr_contains ( "foo.sums: no properly formatted checksum lines found" ) ;
15241523}
15251524
1526- #[ ignore = "not yet implemented" ]
15271525#[ test]
15281526fn test_check_confusing_base64 ( ) {
15291527 let cksum = "BLAKE2b-48 (foo.dat) = fc1f97C4" ;
You can’t perform that action at this time.
0 commit comments