From b39663bf381cbc1079fed08fbd3d0fe665151e90 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Wed, 9 Sep 2020 13:03:44 +0200 Subject: 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. --- src/tests/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') 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:]]+ )+$"#, ) -- cgit v1.2.3