Skip to content

Commit a45486f

Browse files
committed
Add a second test case
1 parent 8b971ff commit a45486f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

exercises/test4.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ mod tests {
1212
use super::*;
1313

1414
#[test]
15-
fn test_my_macro() {
15+
fn test_my_macro_world() {
1616
assert_eq!(my_macro!("world!"), "Hello world!");
1717
}
18-
}
1918

19+
#[test]
20+
fn test_my_macro_goodbye() {
21+
assert_eq!(my_macro!("goodbye!"), "Hello goodbye!");
22+
}
23+
}

0 commit comments

Comments
 (0)