]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/foreach-external-iterators-nested.rs
Use `assert_eq!` instead of `assert!` in tests
[rust.git] / src / test / run-pass / foreach-external-iterators-nested.rs
index 87aa3d84003c527d7f751605889264d1871db977..ea55c90bdf12db1dce0df7ae9db1c3cf8940c9cd 100644 (file)
@@ -20,5 +20,5 @@ pub fn main() {
         }
         q += *i + p;
     }
-    assert!(q == 1010100);
+    assert_eq!(q, 1010100);
 }