about summary refs log tree commit diff
path: root/tests/run-make/no-input-file/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/no-input-file/rmake.rs')
-rw-r--r--tests/run-make/no-input-file/rmake.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/run-make/no-input-file/rmake.rs b/tests/run-make/no-input-file/rmake.rs
index 15e582311f0..fc558b22fb4 100644
--- a/tests/run-make/no-input-file/rmake.rs
+++ b/tests/run-make/no-input-file/rmake.rs
@@ -1,7 +1,9 @@
-use run_make_support::{diff, rustc};
+use run_make_support::rustc;
 
 fn main() {
-    let output = rustc().print("crate-name").run_fail_assert_exit_code(1);
-
-    diff().expected_file("no-input-file.stderr").actual_text("output", output.stderr).run();
+    rustc()
+        .print("crate-name")
+        .run_fail()
+        .assert_exit_code(1)
+        .assert_stderr_equals("error: no input filename given");
 }