1 // ignore-windows: File handling is not implemented yet
2 // compile-flags: -Zmiri-disable-isolation
8 let mut file = File::open("./tests/hello.txt").unwrap();
9 let mut contents = String::new();
10 file.read_to_string(&mut contents).unwrap();
11 assert_eq!("Hello, World!\n", contents);