Skip to content

Commit 7e48199

Browse files
committed
test: coverage
1 parent b5c0c45 commit 7e48199

File tree

1 file changed

+2
-2
lines changed
  • crates/nu-cli/tests/completions

1 file changed

+2
-2
lines changed

crates/nu-cli/tests/completions/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ fn dotnu_completions() {
277277
#[cfg(windows)]
278278
let completion_str = "use `.\\dir_module\\sub module\\".to_string();
279279
#[cfg(not(windows))]
280-
let completion_str = "use `./dir_module/sub module/".to_string();
280+
let completion_str = "use `./dir_module/".to_string();
281281
let suggestions = completer.complete(&completion_str, completion_str.len());
282282

283-
match_suggestions(&vec!["sub.nu".into()], &suggestions);
283+
match_suggestions(&vec!["mod.nu".into(), "sub module/`".into()], &suggestions);
284284

285285
// Test nested nu script, with ending '`'
286286
#[cfg(windows)]

0 commit comments

Comments
 (0)