nu-cli/completions: added tests for dotnu completions (#5460)

This commit is contained in:
Herlon Aguiar
2022-05-10 20:18:18 +02:00
committed by GitHub
parent c0b99b7131
commit 8218f72eea
3 changed files with 71 additions and 5 deletions

View File

@ -58,7 +58,7 @@ impl Completer for DotNuCompletion {
};
// Check if the base_dir is a folder
if base_dir != "./" {
if base_dir != format!(".{}", SEP) {
// Add the base dir into the directories to be searched
search_dirs.push(base_dir.clone());