forked from extern/nushell
last, skip, drop, take until, take while, skip until, skip while, where, reverse, shuffle, append, prepend and sort-by raise error when given non-lists (#7623)
Closes https://github.com/nushell/nushell/issues/6941
This commit is contained in:
@ -123,7 +123,7 @@ fn converts_to_int() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
echo '{number_as_string: "1"}'
|
||||
echo '[{number_as_string: "1"}]'
|
||||
| from json
|
||||
| into int number_as_string
|
||||
| rename number
|
||||
|
Reference in New Issue
Block a user