]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/macro-2.rs
Use `assert_eq!` instead of `assert!` in tests
[rust.git] / src / test / run-pass / macro-2.rs
index d582fc3b721b4d0fc7cb3892908f415205e18233..2cac9226117a29ae91e412f97d105c0039fd390a 100644 (file)
@@ -19,5 +19,5 @@ macro_rules! mylambda_tt {
         })
     }
 
-    assert!(mylambda_tt!(y, y * 2)(8) == 16);
+    assert_eq!(mylambda_tt!(y, y * 2)(8), 16);
 }