Skip to content

Commit e10d9d3

Browse files
committed
Auto merge of #985 - christianpoveda:fix-fs-path, r=RalfJung
Avoid using the tests folder for the file manipualtion test rust-lang/rust#65278 r? @RalfJung
2 parents 3899dce + e9138ab commit e10d9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/file_manipulation.rs renamed to tests/run-pass/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::fs::{File, remove_file};
55
use std::io::{Read, Write};
66

77
fn main() {
8-
let path = "./tests/hello.txt";
8+
let path = "miri_test_fs.txt";
99
let bytes = b"Hello, World!\n";
1010
// Test creating, writing and closing a file (closing is tested when `file` is dropped).
1111
let mut file = File::create(path).unwrap();

0 commit comments

Comments
 (0)