mirror of
https://github.com/veeso/termscp.git
synced 2026-04-05 01:31:47 -07:00
fix: correct typos in BadSytax and theme_provider log messages
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user