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