1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-11 01:10:33 +02:00

Merge pull request #2215 from Rudxain/strim

test idempotence of `trim_me` in `strings3.rs`
This commit is contained in:
Mo Bitar
2025-05-13 16:23:35 +02:00
committed by GitHub

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]