From a45486f2d05ce1081fab5709f629ae765368509b Mon Sep 17 00:00:00 2001 From: Stig Johan Berggren Date: Tue, 25 Feb 2020 14:18:31 +0100 Subject: [PATCH] Add a second test case --- exercises/test4.rs | 8 ++++++-- 1 file 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!"); + } +}