nushell/crates/nu-command/tests
Reilly Wood 705f12c1d9
Fix cell path when getting columns of non-records (#7508)
A follow-up to #7497. That change made it so that `get foo` would
eliminate non-record rows; I think that was an unintentional and
undesirable side-effect.

Before #7497:
```bash
〉[$nothing, { item: "foo" }] | get item
╭───┬─────╮
│ 0 │     │
│ 1 │ foo │
╰───┴─────╯
```
After #7497:
```bash
〉[$nothing, {item: "foo"}] | get item
╭───┬─────╮
│ 0 │ foo │
╰───┴─────╯
```

After this PR:
```bash
〉[$nothing, { item: "foo" }] | get item
╭───┬─────╮
│ 0 │     │
│ 1 │ foo │
╰───┴─────╯
```

cc: @merelymyself
2022-12-17 09:14:12 -08:00
..
commands Fix cell path when getting columns of non-records (#7508) 2022-12-17 09:14:12 -08:00
format_conversions add input_output_types() to benchmark,cd and config reset (#7455) 2022-12-13 06:10:55 -06:00
main.rs Parser refactoring for improving pipelines (#7162) 2022-11-19 10:46:48 +13:00