summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercises/test4.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/exercises/test4.rs b/exercises/test4.rs
index f3875cf..ad1f6ac 100644
--- a/exercises/test4.rs
+++ b/exercises/test4.rs
@@ -12,8 +12,12 @@ mod tests {
use super::*;
#[test]
- fn test_my_macro() {
+ fn test_my_macro_world() {
assert_eq!(my_macro!("world!"), "Hello world!");
}
-}
+ #[test]
+ fn test_my_macro_goodbye() {
+ assert_eq!(my_macro!("goodbye!"), "Hello goodbye!");
+ }
+}