summaryrefslogtreecommitdiff
path: root/src/tests/encrypted.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/encrypted.rs')
-rw-r--r--src/tests/encrypted.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/encrypted.rs b/src/tests/encrypted.rs
index a47c3c9..fb00ea2 100644
--- a/src/tests/encrypted.rs
+++ b/src/tests/encrypted.rs
@@ -20,7 +20,7 @@
use super::*;
#[test_device(storage)]
-fn status_open_close(model: nitrokey::Model) -> crate::Result<()> {
+fn status_open_close(model: nitrokey::Model) -> anyhow::Result<()> {
fn make_re(open: Option<bool>) -> regex::Regex {
let encrypted = match open {
Some(open) => {
@@ -72,7 +72,7 @@ fn encrypted_open_on_pro(model: nitrokey::Model) {
}
#[test_device(storage)]
-fn encrypted_open_close(model: nitrokey::Model) -> crate::Result<()> {
+fn encrypted_open_close(model: nitrokey::Model) -> anyhow::Result<()> {
let mut ncli = Nitrocli::with_model(model);
let out = ncli.handle(&["encrypted", "open"])?;
assert!(out.is_empty());