]> git.lizzy.rs Git - rust.git/commitdiff
core: fix windows breakage from 982cf90, r=burningtree.
authorGraydon Hoare <graydon@mozilla.com>
Thu, 24 Jan 2013 05:57:05 +0000 (21:57 -0800)
committerGraydon Hoare <graydon@mozilla.com>
Thu, 24 Jan 2013 05:57:05 +0000 (21:57 -0800)
src/libcore/int-template.rs
src/libcore/uint-template.rs

index c44a814e53b07885a35c90e0ed06f10738939416..34e82890b476af3b80565aeaa50750d69b28ca16 100644 (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| {}
 }
index 841b88763332174d82e780332238787fd56d0e82..637fd408e73b6188b441945b394f9163f7bcdea3 100644 (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| {}
 }