]> git.lizzy.rs Git - rust.git/commitdiff
Add FIXME to file reading test
authorChristian Poveda <christianpoveda@protonmail.com>
Wed, 25 Sep 2019 16:12:46 +0000 (11:12 -0500)
committerChristian Poveda <christianpoveda@protonmail.com>
Wed, 25 Sep 2019 16:12:46 +0000 (11:12 -0500)
tests/run-pass/file_read.rs

index 93c986393b02efb9c8fd0567b852678bc07c5e82..a60640d1b3c3400850ec6fed42ea2fcd0d9150cd 100644 (file)
@@ -5,6 +5,7 @@
 use std::io::Read;
 
 fn main() {
+    // FIXME: create the file and delete it when `rm` is implemented.
     let mut file = File::open("./tests/hello.txt").unwrap();
     let mut contents = String::new();
     file.read_to_string(&mut contents).unwrap();