diff --git a/lib/binding_web/test/parser-test.js b/lib/binding_web/test/parser-test.js index 90fdaf7b..c76b49c7 100644 --- a/lib/binding_web/test/parser-test.js +++ b/lib/binding_web/test/parser-test.js @@ -130,12 +130,15 @@ describe("Parser", () => { tree = parser.parse("FOO=bar echo < err.txt > hello.txt \nhello\nEOF"); assert.equal( tree.rootNode.toString(), - '(program (redirected_statement (command ' + - '(variable_assignment (variable_name) (word)) ' + - '(command_name (word))) ' + - '(heredoc_redirect (heredoc_start)) ' + - '(file_redirect (file_descriptor) (word)) ' + - '(file_redirect (word))) ' + + '(program (redirected_statement ' + + 'body: (command ' + + '(variable_assignment ' + + 'name: (variable_name) ' + + 'value: (word)) ' + + 'name: (command_name (word))) ' + + 'redirect: (heredoc_redirect (heredoc_start)) ' + + 'redirect: (file_redirect descriptor: (file_descriptor) destination: (word)) ' + + 'redirect: (file_redirect destination: (word))) ' + '(heredoc_body))' ); }).timeout(5000);