1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-03 00:46:57 +02:00

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

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]