diff --git a/src/libcore/int-template.rs b/src/libcore/int-template.rs index c44a814e53b..34e82890b47 100644 --- a/src/libcore/int-template.rs +++ b/src/libcore/int-template.rs @@ -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| {} } diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index 841b8876333..637fd408e73 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -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| {} }