about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2013-01-23 21:57:05 -0800
committerGraydon Hoare <graydon@mozilla.com>2013-01-23 21:57:05 -0800
commit07d0af151a5c2acf283b960eb34d769b0fb06c29 (patch)
treeb38e7e2c3fbf9b83d254c9a36dad9b82a7361411
parent625405562c278cb2e45bec6805f13d2c1de8049e (diff)
downloadrust-07d0af151a5c2acf283b960eb34d769b0fb06c29.tar.gz
rust-07d0af151a5c2acf283b960eb34d769b0fb06c29.zip
core: fix windows breakage from 982cf90, r=burningtree.
-rw-r--r--src/libcore/int-template.rs1
-rw-r--r--src/libcore/uint-template.rs2
2 files changed, 3 insertions, 0 deletions
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| {}
 }