diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-25 02:06:00 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-10-02 11:54:35 +0200 |
commit | adbfa1c12257405112445497324938a011db8664 (patch) | |
tree | f220284722a7273264d6a7ab4597d9d4b17106af /src/tests/status.rs | |
parent | 98b69f32755ad480be4d9622084277e08ea2efb9 (diff) | |
download | nitrocli-adbfa1c12257405112445497324938a011db8664.tar.gz nitrocli-adbfa1c12257405112445497324938a011db8664.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.rs | 4 |
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] |