]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass-fulldeps/compiler-calls.rs
Use `assert_eq!` instead of `assert!` in tests
[rust.git] / src / test / run-pass-fulldeps / compiler-calls.rs
index 1cf36dab395fd3f1091014239be44fa40264d3b5..0805bc5dcb35955b1ca833d9c0cc62f5180d4cd5 100644 (file)
@@ -78,5 +78,5 @@ fn main() {
     // we should never get use this filename, but lets make sure they are valid args.
     let args = vec!["compiler-calls".to_string(), "foo.rs".to_string()];
     rustc_driver::run_compiler(&args, &mut tc);
-    assert!(tc.count == 30);
+    assert_eq!(tc.count, 30);
 }