Skip to content

Commit

Permalink
Test api::notify()
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Dec 26, 2024
1 parent 61cc490 commit a7a4393
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/src/api/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ fn list_wins() {
);
}

#[nvim_oxi::test]
fn notify() {
let opts = NotifyOpts::builder().build();
api::notify("Something went wrong!", LogLevel::Error, &opts).unwrap();
}

#[nvim_oxi::test]
fn set_get_del_current_line() {
let res = api::set_current_line("foo");
Expand Down

0 comments on commit a7a4393

Please sign in to comment.