nushell/tests
Wind eaedb30a8c
Don't expanding globs if user pass variables. (#11946)
# Description
Fixes: #11912

# User-Facing Changes
After this change: 
```
let x = '*.nu'; ^echo $x
```
will no longer expand glob.
If users still want to expand glob, there are also 3 ways to do this:
```
# 1. use spread operation with `glob` command
let x = '*.nu'; ^echo ...(glob $x)
```
# Tests + Formatting
Done

# After Submitting
NaN
2024-02-28 23:05:09 +08:00
..
assets/nu_json Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
const_ Fixes test 1 year more. (#11994) 2024-02-27 08:55:37 -06:00
eval Exit early when encountering parsing errors (#10213) 2023-09-05 14:36:37 +02:00
fixtures Fix completions for directories with hidden files (#11921) 2024-02-26 12:14:19 -06:00
hooks Auto-expand table based on terminal width (#9934) 2023-08-08 05:47:23 -05:00
modules Evaluate string interpolation at parse time (#11562) 2024-01-22 09:13:48 +02:00
overlays Fix overlay_use_main_not_exported hanging when an external spam command exists (#11261) 2023-12-08 06:08:38 -06:00
parsing Forbid reserved variable names for function arguments (#11169) 2023-11-29 18:29:07 +01:00
path change canonicalize test use a more deeply rooted folder (#10685) 2023-10-11 11:27:25 -05:00
plugins Bidirectional communication and streams for plugins (#11911) 2024-02-25 16:32:50 -06:00
scope add $.extra_usage to modules (#11649) 2024-01-27 17:49:21 +02:00
shell Don't expanding globs if user pass variables. (#11946) 2024-02-28 23:05:09 +08:00
main.rs prevent redefining fields in a record (#8705) 2023-04-02 06:09:33 +12:00