Skip to content

Commit

Permalink
test: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
blindFS committed Feb 2, 2025
1 parent b5c0c45 commit 7e48199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/nu-cli/tests/completions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ fn dotnu_completions() {
#[cfg(windows)]
let completion_str = "use `.\\dir_module\\sub module\\".to_string();
#[cfg(not(windows))]
let completion_str = "use `./dir_module/sub module/".to_string();
let completion_str = "use `./dir_module/".to_string();
let suggestions = completer.complete(&completion_str, completion_str.len());

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

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

0 comments on commit 7e48199

Please sign in to comment.