Add a second test case

This commit is contained in:
Stig Johan Berggren 2020-02-25 14:18:31 +01:00
parent 8b971ffab6
commit a45486f2d0
No known key found for this signature in database
GPG Key ID: 2B80D833E53D674A
1 changed files with 6 additions and 2 deletions

View File

@ -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!");
}
}