Fix fileinput test fail

This commit is contained in:
ILyoan 2013-04-04 11:16:26 +09:00
parent fac0d9d89b
commit 53232f7acf

View File

@ -534,7 +534,7 @@ fn test_input_vec_state() {
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(), ~[]);