@@ -7,6 +7,7 @@ fn parse_diagnostic(val: &str) -> cargo_metadata::diagnostic::Diagnostic {
7
7
}
8
8
9
9
#[ test]
10
+ #[ cfg( not( windows) ) ]
10
11
fn snap_rustc_incompatible_type_for_trait ( ) {
11
12
let diag = parse_diagnostic (
12
13
r##"{
@@ -60,6 +61,7 @@ fn snap_rustc_incompatible_type_for_trait() {
60
61
}
61
62
62
63
#[ test]
64
+ #[ cfg( not( windows) ) ]
63
65
fn snap_rustc_unused_variable ( ) {
64
66
let diag = parse_diagnostic (
65
67
r##"{
@@ -142,6 +144,7 @@ fn snap_rustc_unused_variable() {
142
144
}
143
145
144
146
#[ test]
147
+ #[ cfg( not( windows) ) ]
145
148
fn snap_rustc_wrong_number_of_parameters ( ) {
146
149
let diag = parse_diagnostic (
147
150
r##"{
@@ -266,6 +269,7 @@ fn snap_rustc_wrong_number_of_parameters() {
266
269
}
267
270
268
271
#[ test]
272
+ #[ cfg( not( windows) ) ]
269
273
fn snap_clippy_pass_by_ref ( ) {
270
274
let diag = parse_diagnostic (
271
275
r##"{
@@ -386,6 +390,7 @@ fn snap_clippy_pass_by_ref() {
386
390
}
387
391
388
392
#[ test]
393
+ #[ cfg( not( windows) ) ]
389
394
fn snap_rustc_mismatched_type ( ) {
390
395
let diag = parse_diagnostic (
391
396
r##"{
@@ -429,6 +434,7 @@ fn snap_rustc_mismatched_type() {
429
434
}
430
435
431
436
#[ test]
437
+ #[ cfg( not( windows) ) ]
432
438
fn snap_handles_macro_location ( ) {
433
439
let diag = parse_diagnostic (
434
440
r##"{
@@ -700,6 +706,7 @@ fn snap_handles_macro_location() {
700
706
}
701
707
702
708
#[ test]
709
+ #[ cfg( not( windows) ) ]
703
710
fn snap_macro_compiler_error ( ) {
704
711
let diag = parse_diagnostic (
705
712
r##"{
0 commit comments