From 5d5b02d8dc1fc83d8f1f00b3886780bc920f4fcb Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Thu, 24 Mar 2022 16:42:41 +1300 Subject: [PATCH] Don't assume external `ls` (#4925) --- crates/nu-command/tests/commands/which.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/tests/commands/which.rs b/crates/nu-command/tests/commands/which.rs index a871f7917a..5ae94daad6 100644 --- a/crates/nu-command/tests/commands/which.rs +++ b/crates/nu-command/tests/commands/which.rs @@ -48,7 +48,7 @@ fn multiple_reports_for_alias_def_custom() { ); let length: i32 = actual.out.parse().unwrap(); - assert!(length >= 3); + assert!(length >= 2); } // `get_aliases_with_name` and `get_custom_commands_with_name` don't return the correct count of