aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-09 13:03:44 +0200
committerDaniel Mueller <deso@posteo.net>2021-01-10 17:37:57 -0800
commitb39663bf381cbc1079fed08fbd3d0fe665151e90 (patch)
treec603d17f1cee7d536b55297f683e4628781ee99b /src/tests
parent9593dfd03a6ca085d649ca090b6ec5e5f0104e78 (diff)
downloadnitrocli-b39663bf381cbc1079fed08fbd3d0fe665151e90.tar.gz
nitrocli-b39663bf381cbc1079fed08fbd3d0fe665151e90.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.rs2
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:]]+
)+$"#,
)