core: fix windows breakage from 982cf90, r=burningtree.

This commit is contained in:
Graydon Hoare 2013-01-23 21:57:05 -08:00
parent 625405562c
commit 07d0af151a
2 changed files with 3 additions and 0 deletions

View File

@ -412,6 +412,7 @@ pub fn test_ranges() {
#[test]
#[should_fail]
#[ignore(cfg(windows))]
fn test_range_step_zero_step() {
for range_step(0,10,0) |_i| {}
}

View File

@ -397,11 +397,13 @@ pub fn test_ranges() {
#[test]
#[should_fail]
#[ignore(cfg(windows))]
fn test_range_step_zero_step_up() {
for range_step(0,10,0) |_i| {}
}
#[test]
#[should_fail]
#[ignore(cfg(windows))]
fn test_range_step_zero_step_down() {
for range_step(0,-10,0) |_i| {}
}