From 425727dd94132dc731f27ab0bed34d131e2f5dda Mon Sep 17 00:00:00 2001 From: eugenesvk Date: Tue, 28 May 2024 03:01:44 +0700 Subject: [PATCH] test test cfg --- parser/src/cfg/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parser/src/cfg/tests.rs b/parser/src/cfg/tests.rs index 4390f1a43..5e3f8a1f1 100644 --- a/parser/src/cfg/tests.rs +++ b/parser/src/cfg/tests.rs @@ -1955,6 +1955,7 @@ fn disallow_whitespace_in_tooltip_size() { parse_cfg(source).map(|_| ()).expect_err("fails"); } +#[cfg(any(target_os = "windows", target_os = "unknown"))] #[test] fn win_message_ok() { let source = r#" @@ -1972,6 +1973,7 @@ fn win_message_ok() { .expect("parse succeeds"); } +#[cfg(any(target_os = "windows", target_os = "unknown"))] #[test] fn win_message_wrong_number_value() { let source = " @@ -1982,6 +1984,7 @@ fn win_message_wrong_number_value() { parse_cfg(source).map(|_| ()).expect_err("fails"); } +#[cfg(any(target_os = "windows", target_os = "unknown"))] #[test] fn win_message_wrong_number_type() { let source = r#" @@ -1992,6 +1995,7 @@ fn win_message_wrong_number_type() { parse_cfg(source).map(|_| ()).expect_err("fails"); } +#[cfg(any(target_os = "windows", target_os = "unknown"))] #[test] fn win_message_too_many_args() { let source = r#"