Skip to content

Commit d24eb58

Browse files
committed
core: Ignore should_fail tests on win32
1 parent 694de53 commit d24eb58

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/libcore/str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,6 +1769,7 @@ mod tests {
17691769

17701770
#[test]
17711771
#[should_fail]
1772+
#[ignore(cfg(target_os = "win32"))]
17721773
fn test_from_bytes_fail() {
17731774
let bb = [0xff_u8, 0xb8_u8, 0xa8_u8,
17741775
0xe0_u8, 0xb9_u8, 0x84_u8,
@@ -1995,6 +1996,7 @@ mod tests {
19951996

19961997
#[test]
19971998
#[should_fail]
1999+
#[ignore(cfg(target_os = "win32"))]
19982000
fn test_windowed_() {
19992001
let _x = windowed(0u, "abcd");
20002002
}

src/libcore/vec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,7 @@ mod tests {
15261526

15271527
#[test]
15281528
#[should_fail]
1529+
#[ignore(cfg(target_os = "win32"))]
15291530
fn test_windowed_() {
15301531
let _x = windowed (0u, [1u,2u,3u,4u,5u,6u]);
15311532
}

0 commit comments

Comments
 (0)