nushell/tests/shell
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
..
environment test: clear parent envs to prevent leakage to tests (#9976) 2023-08-14 12:49:55 +02:00
pipeline Don't expanding globs if user pass variables. (#11946) 2024-02-28 23:05:09 +08:00
mod.rs Fix a panic when parsing empty file (#11314) 2024-02-07 18:47:44 -06:00