From 179a9bf2e754c1ef8f8beab432b563d7f7001883 Mon Sep 17 00:00:00 2001 From: Riccardo Mazzarini Date: Fri, 27 Dec 2024 03:19:54 +0800 Subject: [PATCH] Don't test `notify_custom{_err}` on `v0.9.5` on macOS and Windows --- tests/src/api/global.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/src/api/global.rs b/tests/src/api/global.rs index db27caa0..c1db1d07 100644 --- a/tests/src/api/global.rs +++ b/tests/src/api/global.rs @@ -187,7 +187,9 @@ fn notify() { assert_eq!(ret, Object::nil()); } +// Fails on 0.9.5 on macOS and Windows. Not sure why. #[nvim_oxi::test] +#[cfg_attr(not(any(target_os = "linux", feature = "neovim-0-10")), ignore)] fn notify_custom() { let message = "Notifier was called!"; @@ -201,7 +203,9 @@ fn notify_custom() { assert_eq!(ret, message.into()); } +// Fails on 0.9.5 on macOS and Windows. Not sure why. #[nvim_oxi::test] +#[cfg_attr(not(any(target_os = "linux", feature = "neovim-0-10")), ignore)] fn notify_custom_err() { #[derive(Debug, thiserror::Error)] #[error("")]