Skip to content

Commit

Permalink
Add command tests for external string & pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
CabalCrow committed May 23, 2024
1 parent cd59f16 commit dc1f6b1
Showing 1 changed file with 31 additions and 0 deletions.
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))))))))

0 comments on commit dc1f6b1

Please sign in to comment.