aboutsummaryrefslogtreecommitdiff
path: root/src/tests/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/config.rs')
-rw-r--r--src/tests/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/config.rs b/src/tests/config.rs
index 3542ecf..ad1fb12 100644
--- a/src/tests/config.rs
+++ b/src/tests/config.rs
@@ -37,7 +37,7 @@ fn mutually_exclusive_set_options() {
}
#[test_device]
-fn get(model: nitrokey::Model) -> crate::Result<()> {
+fn get(model: nitrokey::Model) -> anyhow::Result<()> {
let re = regex::Regex::new(
r#"^Config:
numlock binding: (not set|\d+)
@@ -66,7 +66,7 @@ fn set_wrong_usage(model: nitrokey::Model) {
}
#[test_device]
-fn set_get(model: nitrokey::Model) -> crate::Result<()> {
+fn set_get(model: nitrokey::Model) -> anyhow::Result<()> {
let mut ncli = Nitrocli::with_model(model);
let _ = ncli.handle(&["config", "set", "-s", "1", "-c", "0", "-N"])?;