Skip to content

Commit 07d0af1

Browse files
committed
core: fix windows breakage from 982cf90, r=burningtree.
1 parent 6254055 commit 07d0af1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/libcore/int-template.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ pub fn test_ranges() {
412412

413413
#[test]
414414
#[should_fail]
415+
#[ignore(cfg(windows))]
415416
fn test_range_step_zero_step() {
416417
for range_step(0,10,0) |_i| {}
417418
}

src/libcore/uint-template.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,13 @@ pub fn test_ranges() {
397397

398398
#[test]
399399
#[should_fail]
400+
#[ignore(cfg(windows))]
400401
fn test_range_step_zero_step_up() {
401402
for range_step(0,10,0) |_i| {}
402403
}
403404
#[test]
404405
#[should_fail]
406+
#[ignore(cfg(windows))]
405407
fn test_range_step_zero_step_down() {
406408
for range_step(0,-10,0) |_i| {}
407409
}

0 commit comments

Comments
 (0)