]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/operator-associativity.rs
Use `assert_eq!` instead of `assert!` in tests
[rust.git] / src / test / run-pass / operator-associativity.rs
index 78834ef914d5997ebd3d92da8fe47e664785fd29..86ca8f3325a82143a3ed38ed67aae0df9120e5d1 100644 (file)
@@ -13,4 +13,4 @@
 
 // Testcase for issue #130, operator associativity.
 
-pub fn main() { assert!((3 * 5 / 2 == 7)); }
+pub fn main() { assert_eq!(3 * 5 / 2, 7); }