Skip to content

Commit 615d95f

Browse files
committed
fix: skip repl in mac test
1 parent ca78274 commit 615d95f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/repl/test.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ struct TestEditor {
55
err_expects: VecDeque<bool>,
66
}
77

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

6061
#[test]
61-
#[cfg(test)]
62+
#[cfg(all(test, target_os = "linux"))]
6263
fn test_repl() {
6364
let rl = TestEditor::new(
6465
VecDeque::from(vec![

0 commit comments

Comments
 (0)