nushell/crates/nu-command/tests
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
..
commands Add some cell path tests (#7563) 2022-12-21 23:54:39 +01:00
format_conversions Fix && quotation in to nuon after proptest fail (#7564) 2022-12-22 00:36:07 +01:00
main.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00