Skip to content

Commit 1add205

Browse files
committed
refactor(hdd): rename driver tuple bindings to drv_path/drv_name
https://claude.ai/code/session_01MHKaZm6DcA9kjBPnW3KN5K
1 parent f8bf605 commit 1add205

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/hdd/test_linux.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)