Skip to content

Commit

Permalink
Add use test for pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
CabalCrow committed May 23, 2024
1 parent cb12dc8 commit cd59f16
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/corpus/decl/use.nu
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,18 @@ use dir/file.nu;
(nu_script
(decl_use
(unquoted)))

=====
use-003-pipe
=====

use ('file.nu')

-----

(nu_script
(decl_use
module: (expr_parenthesized
(pipeline
(pipe_element
(val_string))))))

0 comments on commit cd59f16

Please sign in to comment.