[rust] skip notcurses_debug test in macos #1937

also:
- minor warning fix
This commit is contained in:
joseLuís 2021-07-18 09:47:12 +02:00
parent 3f2147b9e4
commit ca284f9093
2 changed files with 3 additions and 1 deletions

View File

@ -694,8 +694,9 @@ impl Nc {
NCSTYLE_STRUCK => "struck",
NCSTYLE_BOLD => "bold",
NCSTYLE_BLINK => "blink",
#[allow(unreachable_patterns)] // FIXME
NCSTYLE_NONE => "none",
_ => "",
_ => "none",
});
string.push(' ');
}

View File

@ -145,6 +145,7 @@ fn notcurses_at_yx() {
#[test]
#[serial]
#[cfg_attr(target_os = "macos", ignore)] // FIXME
fn notcurses_debug() {
unsafe {
let nc = notcurses_init_test();