diff options
| author | Mo Bitar <76752051+mo8it@users.noreply.github.com> | 2025-05-13 16:23:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-13 16:23:35 +0200 |
| commit | a99433c62dfe0557f8490ff677ecc4d2eac14ed5 (patch) | |
| tree | 1dac3192179c740b5d9fd038f8595cdeb7aa7088 | |
| parent | e76ca5e2b97f0b7b292bbe504debb42ec7b36a87 (diff) | |
| parent | fcd77a83ccb557d68c3224c8d705889f891a06de (diff) | |
Merge pull request #2215 from Rudxain/strim
test idempotence of `trim_me` in `strings3.rs`
| -rw-r--r-- | exercises/09_strings/strings3.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/09_strings/strings3.rs b/exercises/09_strings/strings3.rs index 39fce18..f5e45b0 100644 --- a/exercises/09_strings/strings3.rs +++ b/exercises/09_strings/strings3.rs @@ -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] |
