Skip to content

Commit a99433c

Browse files
authored
Merge pull request rust-lang#2215 from Rudxain/strim
test idempotence of `trim_me` in `strings3.rs`
2 parents e76ca5e + fcd77a8 commit a99433c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exercises/09_strings/strings3.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ mod tests {
2323
assert_eq!(trim_me("Hello! "), "Hello!");
2424
assert_eq!(trim_me(" What's up!"), "What's up!");
2525
assert_eq!(trim_me(" Hola! "), "Hola!");
26+
assert_eq!(trim_me("Hi!"), "Hi!");
2627
}
2728

2829
#[test]

0 commit comments

Comments
 (0)