Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to parsing of use, else & commands #90

Merged
merged 16 commits into from
May 24, 2024
Prev Previous commit
Next Next commit
Add command tests for external string & pipe
  • Loading branch information
CabalCrow committed May 23, 2024
commit dc1f6b136983a7711eb35750951eeb82a32202f4
31 changes: 31 additions & 0 deletions test/corpus/pipe/commands.nu
Original file line number Diff line number Diff line change
Expand Up @@ -438,3 +438,34 @@ echo [hello,world]
(val_list
(val_string)
(val_string))))))

======
cmd-017-string-external
======

^'ls'

------

(nu_script
(pipeline
(pipe_element
(command
head: (val_string)))))

======
cmd-018-pipe-external
======

^('ls')

------

(nu_script
(pipeline
(pipe_element
(command
head: (expr_parenthesized
(pipeline
(pipe_element
(val_string))))))))
Loading