diff options
Diffstat (limited to 'tests/device.rs')
-rw-r--r-- | tests/device.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/device.rs b/tests/device.rs index a6098b7..26afa62 100644 --- a/tests/device.rs +++ b/tests/device.rs @@ -19,7 +19,7 @@ fn count_nitrokey_block_devices() -> usize { .expect("Could not list block devices"); String::from_utf8_lossy(&output.stdout) .split("\n") - .filter(|&s| s == "Nitrokey Storage") + .filter(|&s| s.replace("_", " ") == "Nitrokey Storage") .count() } |