about summary refs log tree commit diff
diff options
context:
space:
mode:
authorILyoan <ilyoan@gmail.com>2013-04-04 11:16:26 +0900
committerILyoan <ilyoan@gmail.com>2013-04-04 11:16:26 +0900
commit53232f7acfa651f14c7ed5afd5ec44da9f82eb08 (patch)
treed6cd5ea55838fc9f9f4f177e3acedebc775af735
parentfac0d9d89bd55eccda2549d59b5355afdcaa783f (diff)
downloadrust-53232f7acfa651f14c7ed5afd5ec44da9f82eb08.tar.gz
rust-53232f7acfa651f14c7ed5afd5ec44da9f82eb08.zip
Fix fileinput test fail
-rw-r--r--src/libstd/fileinput.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fileinput.rs b/src/libstd/fileinput.rs
index df733425f3e..4ac3e0b1747 100644
--- a/src/libstd/fileinput.rs
+++ b/src/libstd/fileinput.rs
@@ -534,7 +534,7 @@ mod test {
     fn test_empty_files() {
         let filenames = pathify(vec::from_fn(
             3,
-            |i| fmt!("tmp/lib-fileinput-test-next-file-%u.tmp", i)),true);
+            |i| fmt!("tmp/lib-fileinput-test-empty-files-%u.tmp", i)),true);
 
         make_file(filenames[0].get_ref(), ~[~"1", ~"2"]);
         make_file(filenames[1].get_ref(), ~[]);