Skip to content

Commit fcd77a8

Browse files
authored
test trim idempotence
1 parent ae444eb commit fcd77a8

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)