From: Christian Poveda Date: Fri, 11 Oct 2019 08:31:11 +0000 (-0500) Subject: Avoid using the tests folder for the file manipualtion test X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=ae9f4e1e63c8dfd8f860d6b28c5a192bd22de316;p=rust.git Avoid using the tests folder for the file manipualtion test --- diff --git a/tests/run-pass/file_manipulation.rs b/tests/run-pass/file_manipulation.rs index fa17efd7e17..98f3c1089bb 100644 --- a/tests/run-pass/file_manipulation.rs +++ b/tests/run-pass/file_manipulation.rs @@ -5,7 +5,7 @@ use std::io::{Read, Write}; fn main() { - let path = "./tests/hello.txt"; + let path = "miri_test_fs.txt"; let bytes = b"Hello, World!\n"; // Test creating, writing and closing a file (closing is tested when `file` is dropped). let mut file = File::create(path).unwrap();