about summary refs log tree commit diff
path: root/tests/run-make/sysroot-crates-are-unstable/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/sysroot-crates-are-unstable/rmake.rs')
-rw-r--r--tests/run-make/sysroot-crates-are-unstable/rmake.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/sysroot-crates-are-unstable/rmake.rs b/tests/run-make/sysroot-crates-are-unstable/rmake.rs
index 2240d87237b..c81c7fafdab 100644
--- a/tests/run-make/sysroot-crates-are-unstable/rmake.rs
+++ b/tests/run-make/sysroot-crates-are-unstable/rmake.rs
@@ -34,7 +34,7 @@ fn check_crate_is_unstable(cr: &Crate) {
         .target(target())
         .extern_(name, path)
         .input("-")
-        .stdin(format!("extern crate {name};"))
+        .stdin_buf(format!("extern crate {name};"))
         .run_fail();
 
     // Make sure it failed for the intended reason, not some other reason.