Skip to content

Commit

Permalink
fix: skip repl in mac test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chronostasys committed Jul 17, 2024
1 parent ca78274 commit 615d95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/repl/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ struct TestEditor {
err_expects: VecDeque<bool>,
}

#[cfg(target_os = "linux")]
impl TestEditor {
fn new(input: VecDeque<String>, err_expects: VecDeque<bool>) -> Self {
Self { input, err_expects }
Expand Down Expand Up @@ -58,7 +59,7 @@ impl super::editor::TermEditor for TestEditor {
}

#[test]
#[cfg(test)]
#[cfg(all(test, target_os = "linux"))]
fn test_repl() {
let rl = TestEditor::new(
VecDeque::from(vec![
Expand Down

0 comments on commit 615d95f

Please sign in to comment.