diff --git a/tests/compile-test.rs b/tests/compile-test.rs index e5942f523ab..39a8380bc08 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -29,6 +29,8 @@ fn compile_test() { prepare_env(); run_mode("run-pass", "run-pass"); run_mode("ui", "ui"); - #[cfg(target_os = "windows")] run_mode("ui-windows", "ui"); - #[cfg(not(target_os = "windows"))] run_mode("ui-posix", "ui"); + #[cfg(target_os = "windows")] + run_mode("ui-windows", "ui"); + #[cfg(not(target_os = "windows"))] + run_mode("ui-posix", "ui"); }