nushell/crates/nu-cli/tests
zc he 74f62305b2
fix(completion): more quoting for file_completion/directory_completion (#15299)
# Description

Found inconsistent behaviors of `directory_completion` and
`file_completion`, https://github.com/nushell/nushell/issues/13951

https://github.com/nushell/reedline/pull/886

Also there're failing cases with such file names/dir names `foo(`,
`foo{`, `foo[`.
I think it doesn't harm to be more conservative at adding quotes, even
if it might be unnecessary for paired names like `foo{}`.

# User-Facing Changes

# Tests + Formatting

Adjusted

# After Submitting
2025-03-15 15:17:59 +01:00
..
commands Consolidate uses of test-case to rstest (#14250) 2024-11-04 19:07:59 +01:00
completions fix(completion): more quoting for file_completion/directory_completion (#15299) 2025-03-15 15:17:59 +01:00
main.rs Fix syntax highlighting for not (#12815) 2024-05-10 07:09:44 +08:00