File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ macro_rules! identity_reclassify_test_case {
7777 DRIVERS
7878 . iter( )
7979 . find( |( drv_path, _) | path == Path :: new( * drv_path) )
80- . map( |( _, driver ) | PathBuf :: from( format!( "/drivers/{driver }" ) ) )
80+ . map( |( _, drv_name ) | PathBuf :: from( format!( "/drivers/{drv_name }" ) ) )
8181 . ok_or_else( || io:: Error :: new( io:: ErrorKind :: NotFound , "mocked" ) )
8282 }
8383 }
@@ -192,7 +192,7 @@ fn test_mapper_symlink_resolves_to_virtual_partition() {
192192 [ ( "/sys/block/vda/device/driver" , "virtio_blk" ) ]
193193 . iter ( )
194194 . find ( |( drv_path, _) | path == Path :: new ( * drv_path) )
195- . map ( |( _, driver ) | PathBuf :: from ( format ! ( "/drivers/{driver }" ) ) )
195+ . map ( |( _, drv_name ) | PathBuf :: from ( format ! ( "/drivers/{drv_name }" ) ) )
196196 . ok_or_else ( || io:: Error :: new ( io:: ErrorKind :: NotFound , "mocked" ) )
197197 }
198198 }
You can’t perform that action at this time.
0 commit comments