mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Ignore should_fail tests on windows
This commit is contained in:
parent
76077a9fb7
commit
eb8995e2fa
@ -29,12 +29,14 @@ fn test_to_digit() {
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_to_digit_fail_1() {
|
||||
char::to_digit(' ');
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_to_digit_fail_2() {
|
||||
char::to_digit('$');
|
||||
}
|
||||
|
@ -21,12 +21,14 @@ fn test_from_str() {
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_from_str_fail_1() {
|
||||
int::from_str(" ");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_from_str_fail_2() {
|
||||
int::from_str("x");
|
||||
}
|
||||
@ -54,12 +56,14 @@ fn test_parse_buf() {
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_parse_buf_fail_1() {
|
||||
int::parse_buf(bytes("Z"), 35u);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_parse_buf_fail_2() {
|
||||
int::parse_buf(bytes("-9"), 2u);
|
||||
}
|
||||
|
@ -16,12 +16,14 @@ fn test_from_str() {
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_from_str_fail_1() {
|
||||
uint::from_str(" ");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_from_str_fail_2() {
|
||||
uint::from_str("x");
|
||||
}
|
||||
@ -38,12 +40,14 @@ fn test_parse_buf() {
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_parse_buf_fail_1() {
|
||||
uint::parse_buf(bytes("Z"), 10u);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
#[ignore(cfg(target_os = "win32"))]
|
||||
fn test_parse_buf_fail_2() {
|
||||
uint::parse_buf(bytes("_"), 2u);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user