test trim idempotence

This commit is contained in:
Ricardo Fernández Serrata 2025-03-07 19:17:11 -04:00 committed by GitHub
parent ae444eb3da
commit fcd77a83cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,6 +23,7 @@ mod tests {
assert_eq!(trim_me("Hello! "), "Hello!");
assert_eq!(trim_me(" What's up!"), "What's up!");
assert_eq!(trim_me(" Hola! "), "Hola!");
assert_eq!(trim_me("Hi!"), "Hi!");
}
#[test]