1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-26 06:08:21 +02:00
nushell/crates/nu-command/tests
Antoine Stevan f433b3102f
fix default after an empty where ()
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 () 2023-09-06 16:39:35 +08:00
format_conversions Simplify rawstrings in tests () 2023-09-01 00:08:27 +02:00
main.rs Rename misused "deprecation" to removal () 2023-08-15 07:17:31 +12:00