File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/uucore/src/lib/features Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1056,7 +1056,7 @@ mod tests {
10561056 ] ;
10571057
10581058 for ( input, expected) in test_cases {
1059- let captures = algo_based_regex. captures ( * input) ;
1059+ let captures = algo_based_regex. captures ( input) ;
10601060 match expected {
10611061 Some ( ( algo, bits, filename, checksum) ) => {
10621062 assert ! ( captures. is_some( ) ) ;
@@ -1206,7 +1206,7 @@ mod tests {
12061206
12071207 // Test leading space before checksum line
12081208 let lines_algo_based_leading_space =
1209- vec ! [ " MD5 (example.txt) = d41d8cd98f00b204e9800998ecf8427e" ]
1209+ [ " MD5 (example.txt) = d41d8cd98f00b204e9800998ecf8427e" ]
12101210 . iter ( )
12111211 . map ( |s| OsString :: from ( s. to_string ( ) ) )
12121212 . collect :: < Vec < _ > > ( ) ;
@@ -1216,7 +1216,7 @@ mod tests {
12161216
12171217 // Test trailing space after checksum line (should fail)
12181218 let lines_algo_based_leading_space =
1219- vec ! [ "MD5 (example.txt) = d41d8cd98f00b204e9800998ecf8427e " ]
1219+ [ "MD5 (example.txt) = d41d8cd98f00b204e9800998ecf8427e " ]
12201220 . iter ( )
12211221 . map ( |s| OsString :: from ( s. to_string ( ) ) )
12221222 . collect :: < Vec < _ > > ( ) ;
You can’t perform that action at this time.
0 commit comments