diff --git a/src/system/keys/mod.rs b/src/system/keys/mod.rs index b7d13d0..66ac480 100644 --- a/src/system/keys/mod.rs +++ b/src/system/keys/mod.rs @@ -77,6 +77,7 @@ mod tests { #[test] fn test_system_keys_mod_errors() { + #[cfg(feature = "with-keyring")] assert_eq!( KeyStorageError::BadSytax.to_string(), String::from("Key has a bad syntax")