aboutsummaryrefslogtreecommitdiff
path: root/src/tests/status.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-25 02:06:00 +0200
committerDaniel Mueller <deso@posteo.net>2020-10-11 14:58:35 -0700
commit6fce98ec044241abd1d0f54dca307af6cd9f648f (patch)
tree1c184d6f5d04ab2e2729c7b33c9a2be089c41684 /src/tests/status.rs
parentdc99d8ffabcd51bc549981998c5d53b1fba789e9 (diff)
downloadnitrocli-6fce98ec044241abd1d0f54dca307af6cd9f648f.tar.gz
nitrocli-6fce98ec044241abd1d0f54dca307af6cd9f648f.tar.bz2
Update nitrokey to v0.8.0
This patch updates the nitrokey dependency to version 0.8.0 and applies all breaking changes (Config fields renaming, DeviceWrapper and Model non-exhaustiveness, changed Display implementation for Model).
Diffstat (limited to 'src/tests/status.rs')
-rw-r--r--src/tests/status.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/status.rs b/src/tests/status.rs
index ca16121..873bc69 100644
--- a/src/tests/status.rs
+++ b/src/tests/status.rs
@@ -25,7 +25,7 @@ fn not_found() {
fn output_pro(model: nitrokey::Model) -> anyhow::Result<()> {
let re = regex::Regex::new(
r#"^Status:
- model: Pro
+ model: Nitrokey Pro
serial number: 0x[[:xdigit:]]{8}
firmware version: v\d+\.\d+
user retry count: [0-3]
@@ -43,7 +43,7 @@ $"#,
fn output_storage(model: nitrokey::Model) -> anyhow::Result<()> {
let re = regex::Regex::new(
r#"^Status:
- model: Storage
+ model: Nitrokey Storage
serial number: 0x[[:xdigit:]]{8}
firmware version: v\d+\.\d+
user retry count: [0-3]