fix: correct typos in BadSytax and theme_provider log messages

This commit is contained in:
Christian Visintin
2026-02-27 22:30:06 +01:00
parent 4fdaf82314
commit 97a2240cf7
4 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ use thiserror::Error;
#[derive(Debug, Error)]
pub enum KeyStorageError {
#[error("Key has a bad syntax")]
BadSytax,
BadSyntax,
#[error("Provider service error")]
ProviderError,
#[error("No such key")]
@@ -54,7 +54,7 @@ mod tests {
#[test]
fn test_system_keys_mod_errors() {
assert_eq!(
KeyStorageError::BadSytax.to_string(),
KeyStorageError::BadSyntax.to_string(),
String::from("Key has a bad syntax")
);
assert_eq!(