diff --git a/src/repl/test.rs b/src/repl/test.rs index f74e2dcf..3c59485a 100644 --- a/src/repl/test.rs +++ b/src/repl/test.rs @@ -5,6 +5,7 @@ struct TestEditor { err_expects: VecDeque, } +#[cfg(not(target_os = "macos"))] impl TestEditor { fn new(input: VecDeque, err_expects: VecDeque) -> Self { Self { input, err_expects } @@ -58,7 +59,7 @@ impl super::editor::TermEditor for TestEditor { } #[test] -#[cfg(test)] +#[cfg(all(test, not(target_os = "macos")))] fn test_repl() { let rl = TestEditor::new( VecDeque::from(vec![