mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-07 06:04:47 +00:00
test trim idempotence
This commit is contained in:
parent
ae444eb3da
commit
fcd77a83cc
@ -23,6 +23,7 @@ mod tests {
|
|||||||
assert_eq!(trim_me("Hello! "), "Hello!");
|
assert_eq!(trim_me("Hello! "), "Hello!");
|
||||||
assert_eq!(trim_me(" What's up!"), "What's up!");
|
assert_eq!(trim_me(" What's up!"), "What's up!");
|
||||||
assert_eq!(trim_me(" Hola! "), "Hola!");
|
assert_eq!(trim_me(" Hola! "), "Hola!");
|
||||||
|
assert_eq!(trim_me("Hi!"), "Hi!");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user