Skip to content

Commit

Permalink
Only run invalid_result_conversion on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mejrs committed Oct 8, 2023
1 parent 6ca573b commit d6e22a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_compile_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn test_compile_errors() {
t.compile_fail("tests/ui/invalid_pymethod_receiver.rs");
t.compile_fail("tests/ui/missing_intopy.rs");
// adding extra error conversion impls changes the output
#[cfg(not(any(feature = "eyre", feature = "anyhow")))]
#[cfg(all(target_os = "linux", not(any(feature = "eyre", feature = "anyhow"))))]
t.compile_fail("tests/ui/invalid_result_conversion.rs");
t.compile_fail("tests/ui/not_send.rs");
t.compile_fail("tests/ui/not_send2.rs");
Expand Down

0 comments on commit d6e22a9

Please sign in to comment.