diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-09 13:03:44 +0200 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-09-09 08:58:47 -0700 |
commit | 663f24b2e41c90709750337e47f2f43b3100422f (patch) | |
tree | bfbb26cd35e826176982b7e5bea7570e9c4920d0 /src/tests | |
parent | 4a8c01adb5100fd0397aad239edc5e80d13aca13 (diff) | |
download | nitrocli-663f24b2e41c90709750337e47f2f43b3100422f.tar.gz nitrocli-663f24b2e41c90709750337e47f2f43b3100422f.tar.bz2 |
Rename device path to USB path in list output
For consistency with the --usb-path option, this path renames the device
path column in the output of the list command to USB path.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/list.rs b/src/tests/list.rs index 4c28995..cc969c6 100644 --- a/src/tests/list.rs +++ b/src/tests/list.rs @@ -16,7 +16,7 @@ fn not_connected() -> anyhow::Result<()> { #[test_device] fn connected(model: nitrokey::Model) -> anyhow::Result<()> { let re = regex::Regex::new( - r#"^device path\tmodel\tserial number + r#"^USB path\tmodel\tserial number ([[:^space:]]+\t(Pro|Storage|unknown)\t0x[[:xdigit:]]+ )+$"#, ) |