Skip to content

Commit

Permalink
Don't test notify_custom{_err} on v0.9.5 on macOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Dec 26, 2024
1 parent 1beb3d5 commit 226a943
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/api/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(any(target_os = "linux", feature = "neovim-0-10"), ignore)]
fn notify_custom() {
let message = "Notifier was called!";

Expand All @@ -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(any(target_os = "linux", feature = "neovim-0-10"), ignore)]
fn notify_custom_err() {
#[derive(Debug, thiserror::Error)]
#[error("")]
Expand Down

0 comments on commit 226a943

Please sign in to comment.