Skip to content

Commit

Permalink
core: fix windows breakage from 982cf90, r=burningtree.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Jan 24, 2013
1 parent 6254055 commit 07d0af1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/int-template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {}
}
2 changes: 2 additions & 0 deletions src/libcore/uint-template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {}
}

0 comments on commit 07d0af1

Please sign in to comment.