nushell/crates/nu-command/src/formats/to
Stefan Holderbach ec08e4bc6d
Fix && quotation in to nuon after proptest fail (#7564)
`proptest` caught a failing test condition for `&&` as a literal string. It requires a quotation to be parsed correctly by current `from nuon`
    
https://github.com/nushell/nushell/actions/runs/3753242377/jobs/6376308675

The change in the parser that now returns an error was introduced by https://github.com/nushell/nushell/pull/7241

This in theory doesn't have to be an error (it is a diagnostic for nushell code) but it is probably better safe than sorry to require quotation here.

- Add a test for `&&` in `to nuon` from proptest fail
- Fix `to nuon` generating invalid `&&` literal
- Add a test for `,` in `to nuon`/`from nuon` cycle
  - Bonus: should already be properly quoted
2022-12-22 00:36:07 +01:00
..
command.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
csv.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
delimited.rs Fix to csv and to tsv for simple list, close: #4780 (#5483) 2022-05-09 06:14:42 -05:00
html.rs to html --list now returns a table (#7080) 2022-11-15 11:12:56 -06:00
json.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
md.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs sometimes you want a text output (#5441) 2022-05-04 14:12:23 -05:00
nuon.rs Fix && quotation in to nuon after proptest fail (#7564) 2022-12-22 00:36:07 +01:00
text.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
toml.rs chore: chrono_update (#7132) 2022-11-27 07:19:02 +13:00
tsv.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
url.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
xml.rs couple minor updates to xml deps (#7311) 2022-12-02 08:25:13 +13:00
yaml.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00