Skip to content

Commit d2ce83c

Browse files
committed
std::rt::io::file: Enable I/O tests on Win32
Enable blocked tests which are now fixed by rust-lang#9165. Closes rust-lang#8810.
1 parent 4ecb0a3 commit d2ce83c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/libstd/rt/io/file.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ fn file_test_smoke_test_impl() {
168168
}
169169

170170
#[test]
171-
#[ignore(cfg(windows))] // FIXME #8810
172171
fn file_test_io_smoke_test() {
173172
file_test_smoke_test_impl();
174173
}
@@ -236,7 +235,6 @@ fn file_test_io_non_positional_read_impl() {
236235
}
237236

238237
#[test]
239-
#[ignore(cfg(windows))] // FIXME #8810
240238
fn file_test_io_non_positional_read() {
241239
file_test_io_non_positional_read_impl();
242240
}
@@ -268,8 +266,8 @@ fn file_test_io_seeking_impl() {
268266
assert!(tell_pos_post_read == message.len() as u64);
269267
}
270268
}
269+
271270
#[test]
272-
#[ignore(cfg(windows))] // FIXME #8810
273271
fn file_test_io_seek_and_tell_smoke_test() {
274272
file_test_io_seeking_impl();
275273
}
@@ -300,8 +298,8 @@ fn file_test_io_seek_and_write_impl() {
300298
assert!(read_str == final_msg.to_owned());
301299
}
302300
}
301+
303302
#[test]
304-
#[ignore(cfg(windows))] // FIXME #8810
305303
fn file_test_io_seek_and_write() {
306304
file_test_io_seek_and_write_impl();
307305
}
@@ -340,8 +338,8 @@ fn file_test_io_seek_shakedown_impl() {
340338
unlink(filename);
341339
}
342340
}
341+
343342
#[test]
344-
#[ignore(cfg(windows))] // FIXME #8810
345343
fn file_test_io_seek_shakedown() {
346344
file_test_io_seek_shakedown_impl();
347345
}

0 commit comments

Comments
 (0)