From 3cb6d73c54ef4f5ceeb25fbaf9c5071b1778487c Mon Sep 17 00:00:00 2001 From: ysthakur <45539777+ysthakur@users.noreply.github.com> Date: Fri, 8 Nov 2024 00:48:06 -0500 Subject: [PATCH] Fix variables_completions test sort order on Windows --- crates/nu-cli/tests/completions/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cli/tests/completions/mod.rs b/crates/nu-cli/tests/completions/mod.rs index 5b82b1e4d4..4bcf8b55c0 100644 --- a/crates/nu-cli/tests/completions/mod.rs +++ b/crates/nu-cli/tests/completions/mod.rs @@ -1287,7 +1287,7 @@ fn variables_completions() { assert_eq!(3, suggestions.len()); #[cfg(windows)] - let expected: Vec = vec!["PWD".into(), "Path".into(), "TEST".into()]; + let expected: Vec = vec!["Path".into(), "PWD".into(), "TEST".into()]; #[cfg(not(windows))] let expected: Vec = vec!["PATH".into(), "PWD".into(), "TEST".into()];