From 3b59407cfb0a4783f6c9b4f8fdea402f9efb10c9 Mon Sep 17 00:00:00 2001 From: YizhePKU Date: Sun, 2 Jun 2024 23:39:22 +0000 Subject: [PATCH] Specify both "--config" and "--env-config" --- tests/terminal/mod.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/terminal/mod.rs b/tests/terminal/mod.rs index 67c71f4a89..75f3cd6d9c 100644 --- a/tests/terminal/mod.rs +++ b/tests/terminal/mod.rs @@ -52,7 +52,12 @@ fn command_hints_are_pwd_aware() { // Create the PTY and the terminal. let mut pty = pty_with_nushell( - vec!["--no-config-file", "--config", &nu_config_string], + vec![ + "--config", + &nu_config_string, + "--env-config", + &nu_config_string, + ], Some(cwd.path().to_path_buf()), ); let (mut term, mut events) = default_terminal();