mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
make first
behave same way as last
: always return list when with number argument (#6616)
* make `first` behave same way as `last` * better behaviour * fix tests * add tests
This commit is contained in:
@ -232,7 +232,7 @@ mod stdin_evaluation {
|
||||
| nu --testbin chop
|
||||
| nu --testbin chop
|
||||
| lines
|
||||
| first 1 )
|
||||
| first )
|
||||
"#
|
||||
))
|
||||
.out;
|
||||
|
Reference in New Issue
Block a user