File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,14 @@ fn test_to_digit() {
29
29
30
30
#[ test]
31
31
#[ should_fail]
32
+ #[ ignore( cfg( target_os = "win32" ) ) ]
32
33
fn test_to_digit_fail_1 ( ) {
33
34
char:: to_digit ( ' ' ) ;
34
35
}
35
36
36
37
#[ test]
37
38
#[ should_fail]
39
+ #[ ignore( cfg( target_os = "win32" ) ) ]
38
40
fn test_to_digit_fail_2 ( ) {
39
41
char:: to_digit ( '$' ) ;
40
42
}
Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ fn test_from_str() {
21
21
22
22
#[ test]
23
23
#[ should_fail]
24
+ #[ ignore( cfg( target_os = "win32" ) ) ]
24
25
fn test_from_str_fail_1 ( ) {
25
26
int:: from_str ( " " ) ;
26
27
}
27
28
28
29
#[ test]
29
30
#[ should_fail]
31
+ #[ ignore( cfg( target_os = "win32" ) ) ]
30
32
fn test_from_str_fail_2 ( ) {
31
33
int:: from_str ( "x" ) ;
32
34
}
@@ -54,12 +56,14 @@ fn test_parse_buf() {
54
56
55
57
#[ test]
56
58
#[ should_fail]
59
+ #[ ignore( cfg( target_os = "win32" ) ) ]
57
60
fn test_parse_buf_fail_1 ( ) {
58
61
int:: parse_buf ( bytes ( "Z" ) , 35 u) ;
59
62
}
60
63
61
64
#[ test]
62
65
#[ should_fail]
66
+ #[ ignore( cfg( target_os = "win32" ) ) ]
63
67
fn test_parse_buf_fail_2 ( ) {
64
68
int:: parse_buf ( bytes ( "-9" ) , 2 u) ;
65
69
}
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ fn test_from_str() {
16
16
17
17
#[ test]
18
18
#[ should_fail]
19
+ #[ ignore( cfg( target_os = "win32" ) ) ]
19
20
fn test_from_str_fail_1 ( ) {
20
21
uint:: from_str ( " " ) ;
21
22
}
22
23
23
24
#[ test]
24
25
#[ should_fail]
26
+ #[ ignore( cfg( target_os = "win32" ) ) ]
25
27
fn test_from_str_fail_2 ( ) {
26
28
uint:: from_str ( "x" ) ;
27
29
}
@@ -38,12 +40,14 @@ fn test_parse_buf() {
38
40
39
41
#[ test]
40
42
#[ should_fail]
43
+ #[ ignore( cfg( target_os = "win32" ) ) ]
41
44
fn test_parse_buf_fail_1 ( ) {
42
45
uint:: parse_buf ( bytes ( "Z" ) , 10 u) ;
43
46
}
44
47
45
48
#[ test]
46
49
#[ should_fail]
50
+ #[ ignore( cfg( target_os = "win32" ) ) ]
47
51
fn test_parse_buf_fail_2 ( ) {
48
52
uint:: parse_buf ( bytes ( "_" ) , 2 u) ;
49
53
}
You can’t perform that action at this time.
0 commit comments