aboutsummaryrefslogtreecommitdiff
path: root/src/tests/unencrypted.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/unencrypted.rs')
-rw-r--r--src/tests/unencrypted.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unencrypted.rs b/src/tests/unencrypted.rs
index ceeb17c..2fd92a0 100644
--- a/src/tests/unencrypted.rs
+++ b/src/tests/unencrypted.rs
@@ -1,7 +1,7 @@
// unencrypted.rs
// *************************************************************************
-// * Copyright (C) 2019 Daniel Mueller (deso@posteo.net) *
+// * Copyright (C) 2019-2020 Daniel Mueller (deso@posteo.net) *
// * *
// * This program is free software: you can redistribute it and/or modify *
// * it under the terms of the GNU General Public License as published by *
@@ -20,7 +20,7 @@
use super::*;
#[test_device(storage)]
-fn unencrypted_set_read_write(model: nitrokey::Model) -> crate::Result<()> {
+fn unencrypted_set_read_write(model: nitrokey::Model) -> anyhow::Result<()> {
let mut ncli = Nitrocli::with_model(model);
let out = ncli.handle(&["unencrypted", "set", "read-write"])?;
assert!(out.is_empty());