nushell/crates/nu-command/tests
Antoine Stevan f433b3102f
fix default after an empty where (#10240)
should close https://github.com/nushell/nushell/issues/10237

# Description
this is @fdncred's findings 😋 
i just made the PR 😌 

# User-Facing Changes
```nushell
[a b] | where $it == 'c' | last | default 'd'
```
now works and gives `d`


# Tests + Formatting
adds a new `default_after_empty_filter` test.

# After Submitting
2023-09-06 16:39:35 +08:00
..
commands fix default after an empty where (#10240) 2023-09-06 16:39:35 +08:00
format_conversions Simplify rawstrings in tests (#10180) 2023-09-01 00:08:27 +02:00
main.rs Rename misused "deprecation" to removal (#10000) 2023-08-15 07:17:31 +12:00