about summary refs log tree commit diff
path: root/tests/run-make/print-native-static-libs/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/print-native-static-libs/rmake.rs')
-rw-r--r--tests/run-make/print-native-static-libs/rmake.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/run-make/print-native-static-libs/rmake.rs b/tests/run-make/print-native-static-libs/rmake.rs
index edb85d568c6..b4e7c0e17ff 100644
--- a/tests/run-make/print-native-static-libs/rmake.rs
+++ b/tests/run-make/print-native-static-libs/rmake.rs
@@ -30,9 +30,7 @@ fn main() {
         .run();
 
     let mut found_note = false;
-    for l in output.stderr.lines() {
-        let l = l.expect("utf-8 string");
-
+    for l in output.stderr_utf8().lines() {
         let Some(args) = l.strip_prefix("note: native-static-libs:") else {
             continue;
         };