fix clippy

Use chars, instead of strings when using `str::replace` in tests.
This commit is contained in:
Maybe Waffle 2021-12-09 13:03:46 +03:00
parent 604a5cc91b
commit df5487a04b

View file

@ -43,8 +43,8 @@ mod tests {
"hash":"1122",
"secret":"secret"
}"#
.replace("\n", "")
.replace(" ", "");
.replace('\n', "")
.replace(' ', "");
let encrypted_credentials = EncryptedCredentials {
data: "someData".to_string(),
hash: "1122".to_string(),