Skip to content

Commit 9b8c04e

Browse files
committed
core: ignore recent should_fail tests on windows
1 parent c766924 commit 9b8c04e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/libcore/extfmt.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,14 @@ pub mod ct {
435435

436436
#[test]
437437
#[should_fail]
438+
#[ignore(cfg(windows))]
438439
fn test_parse_type_missing() {
439440
parse_type("", 0, 0, die);
440441
}
441442

442443
#[test]
443444
#[should_fail]
445+
#[ignore(cfg(windows))]
444446
fn test_parse_type_unknown() {
445447
parse_type("!", 0, 1, die);
446448
}

src/libcore/vec.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3867,7 +3867,7 @@ mod tests {
38673867
}
38683868

38693869
#[test]
3870-
#[ignore(windows)]
3870+
#[ignore(cfg(windows))]
38713871
#[should_fail]
38723872
fn test_as_mut_buf_fail() {
38733873
let v = [mut (~0, @0), (~0, @0), (~0, @0), (~0, @0)];
@@ -3878,6 +3878,7 @@ mod tests {
38783878

38793879
#[test]
38803880
#[should_fail]
3881+
#[ignore(cfg(windows))]
38813882
fn test_memcpy_oob() unsafe {
38823883
let a = [mut 1, 2, 3, 4];
38833884
let b = [1, 2, 3, 4, 5];

0 commit comments

Comments
 (0)