diff options
Diffstat (limited to 'bashast/gunit/simp_command.gunit')
-rw-r--r-- | bashast/gunit/simp_command.gunit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bashast/gunit/simp_command.gunit b/bashast/gunit/simp_command.gunit index e6a8602..2415b5e 100644 --- a/bashast/gunit/simp_command.gunit +++ b/bashast/gunit/simp_command.gunit @@ -32,6 +32,6 @@ command_atom: "echo \"ab#af ###\" #abc" -> (STRING echo) (STRING (DOUBLE_QUOTED_STRING ab # af # # #)) command: -"asdf=5 cat out.log > result" -> (COMMAND (STRING cat) (STRING out . log) (= asdf (STRING 5)) (REDIR > (STRING result))) -"cat results.log > asdf 2> /dev/null" -> (COMMAND (STRING cat) (STRING results . log) (REDIR > (STRING asdf)) (REDIR 2 > (STRING / dev / null))) +"asdf=5 cat out.log > result" -> (COMMAND (REDIR > (STRING result)) (STRING cat) (STRING out . log) (= asdf (STRING 5))) +"cat results.log > asdf 2> /dev/null" -> (COMMAND (REDIR > (STRING asdf)) (REDIR 2 > (STRING / dev / null)) (STRING cat) (STRING results . log)) "test-parser a b c" -> (COMMAND (STRING test - parser) (STRING a) (STRING b) (STRING c)) |