From 07d0af151a5c2acf283b960eb34d769b0fb06c29 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 23 Jan 2013 21:57:05 -0800 Subject: [PATCH] core: fix windows breakage from 982cf90, r=burningtree. --- src/libcore/int-template.rs | 1 + src/libcore/uint-template.rs | 2 ++ 2 files changed, 3 insertions(+) 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| {} }