Disable the module instead

This commit is contained in:
YizhePKU 2024-06-03 06:18:33 +08:00
parent 3263f53b69
commit ef0472aebb
2 changed files with 1 additions and 2 deletions

View File

@ -14,4 +14,5 @@ mod plugins;
mod repl;
mod scope;
mod shell;
#[cfg(not(macos))]
mod terminal;

View File

@ -6,7 +6,6 @@ use nu_test_support::terminal::{
use std::{io::Write, time::Duration};
#[test]
#[cfg(any(windows, linux))]
fn auto_cd_works() {
// Setup a directory with a sub-directory in it.
let cwd = tempfile::tempdir().unwrap();
@ -39,7 +38,6 @@ fn auto_cd_works() {
}
#[test]
#[cfg(any(windows, linux))]
fn command_hints_are_pwd_aware() {
// PWD-aware command hints require setting history file format to "sqlite".
let nu_config = tempfile::NamedTempFile::new().unwrap();