From ea453bf57ed124aa3d919754cb43ad1b00682ed9 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Wed, 22 Feb 2017 14:36:22 -0800 Subject: [PATCH] Transition ruby test fixtures --- test/fixtures/ruby/and-or.A.rb | 4 +-- test/fixtures/ruby/and-or.B.rb | 1 + test/fixtures/ruby/and-or.diffA-B.txt | 13 +++++----- test/fixtures/ruby/and-or.diffB-A.txt | 21 ++++++++------- test/fixtures/ruby/and-or.parseA.txt | 10 +------ test/fixtures/ruby/and-or.parseB.txt | 9 ++++++- test/fixtures/ruby/array.A.rb | 1 + test/fixtures/ruby/array.B.rb | 1 + test/fixtures/ruby/array.diffA-B.txt | 8 ++++++ test/fixtures/ruby/array.diffB-A.txt | 8 ++++++ test/fixtures/ruby/array.parseA.txt | 5 ++++ test/fixtures/ruby/array.parseB.txt | 5 ++++ test/fixtures/ruby/assignment.A.rb | 1 + test/fixtures/ruby/assignment.B.rb | 1 + test/fixtures/ruby/assignment.diffA-B.txt | 5 ++++ test/fixtures/ruby/assignment.diffB-A.txt | 5 ++++ test/fixtures/ruby/assignment.parseA.txt | 4 +++ test/fixtures/ruby/assignment.parseB.txt | 4 +++ test/fixtures/ruby/begin-block.A.rb | 3 +++ test/fixtures/ruby/begin-block.B.rb | 4 +++ test/fixtures/ruby/begin-block.diffA-B.txt | 5 ++++ test/fixtures/ruby/begin-block.diffB-A.txt | 6 +++++ test/fixtures/ruby/begin-block.parseA.txt | 3 +++ test/fixtures/ruby/begin-block.parseB.txt | 4 +++ test/fixtures/ruby/begin.A.rb | 4 +++ test/fixtures/ruby/begin.B.rb | 5 ++++ test/fixtures/ruby/begin.diffA-B.txt | 7 +++++ test/fixtures/ruby/begin.diffB-A.txt | 7 +++++ test/fixtures/ruby/begin.parseA.txt | 4 +++ test/fixtures/ruby/begin.parseB.txt | 7 +++++ test/fixtures/ruby/bitwise-operator.A.rb | 3 +++ test/fixtures/ruby/bitwise-operator.B.rb | 2 ++ .../ruby/bitwise-operator.diffA-B.txt | 21 +++++++++++++++ .../ruby/bitwise-operator.diffB-A.txt | 21 +++++++++++++++ .../fixtures/ruby/bitwise-operator.parseA.txt | 13 ++++++++++ .../fixtures/ruby/bitwise-operator.parseB.txt | 9 +++++++ test/fixtures/ruby/boolean-operator.A.rb | 1 + test/fixtures/ruby/boolean-operator.B.rb | 1 + .../ruby/boolean-operator.diffA-B.txt | 9 +++++++ .../ruby/boolean-operator.diffB-A.txt | 9 +++++++ .../fixtures/ruby/boolean-operator.parseA.txt | 5 ++++ .../fixtures/ruby/boolean-operator.parseB.txt | 5 ++++ test/fixtures/ruby/class.A.rb | 3 +++ test/fixtures/ruby/class.B.rb | 3 +++ test/fixtures/ruby/class.diffA-B.txt | 7 +++++ test/fixtures/ruby/class.diffB-A.txt | 7 +++++ test/fixtures/ruby/class.parseA.txt | 7 +++++ test/fixtures/ruby/class.parseB.txt | 5 ++++ test/fixtures/ruby/comment.A.rb | 1 + test/fixtures/ruby/comment.B.rb | 4 +++ test/fixtures/ruby/comment.diffA-B.txt | 14 ++++++++++ test/fixtures/ruby/comment.diffB-A.txt | 14 ++++++++++ test/fixtures/ruby/comment.parseA.txt | 2 ++ test/fixtures/ruby/comment.parseB.txt | 13 ++++++++++ test/fixtures/ruby/comparision-operator.A.rb | 2 ++ test/fixtures/ruby/comparision-operator.B.rb | 2 ++ .../ruby/comparision-operator.diffA-B.txt | 17 ++++++++++++ .../ruby/comparision-operator.diffB-A.txt | 17 ++++++++++++ .../ruby/comparision-operator.parseA.txt | 9 +++++++ .../ruby/comparision-operator.parseB.txt | 9 +++++++ .../fixtures/ruby/conditional-assignment.A.rb | 1 + .../fixtures/ruby/conditional-assignment.B.rb | 1 + .../ruby/conditional-assignment.diffA-B.txt | 5 ++++ .../ruby/conditional-assignment.diffB-A.txt | 5 ++++ .../ruby/conditional-assignment.parseA.txt | 4 +++ .../ruby/conditional-assignment.parseB.txt | 4 +++ test/fixtures/ruby/delimiter.A.rb | 6 +++++ test/fixtures/ruby/delimiter.B.rb | 6 +++++ test/fixtures/ruby/delimiter.diffA-B.txt | 13 ++++++++++ test/fixtures/ruby/delimiter.diffB-A.txt | 13 ++++++++++ test/fixtures/ruby/delimiter.parseA.txt | 7 +++++ test/fixtures/ruby/delimiter.parseB.txt | 7 +++++ test/fixtures/ruby/element-reference.A.rb | 3 +++ test/fixtures/ruby/element-reference.B.rb | 2 ++ .../ruby/element-reference.diffA-B.txt | 17 ++++++++++++ .../ruby/element-reference.diffB-A.txt | 17 ++++++++++++ .../ruby/element-reference.parseA.txt | 12 +++++++++ .../ruby/element-reference.parseB.txt | 7 +++++ test/fixtures/ruby/else.A.rb | 4 +++ test/fixtures/ruby/else.B.rb | 5 ++++ test/fixtures/ruby/else.diffA-B.txt | 8 ++++++ test/fixtures/ruby/else.diffB-A.txt | 8 ++++++ test/fixtures/ruby/else.parseA.txt | 5 ++++ test/fixtures/ruby/else.parseB.txt | 7 +++++ test/fixtures/ruby/elsif.A.rb | 4 +++ test/fixtures/ruby/elsif.B.rb | 5 ++++ test/fixtures/ruby/elsif.diffA-B.txt | 9 +++++++ test/fixtures/ruby/elsif.diffB-A.txt | 9 +++++++ test/fixtures/ruby/elsif.parseA.txt | 7 +++++ test/fixtures/ruby/elsif.parseB.txt | 9 +++++++ test/fixtures/ruby/end-block.A.rb | 3 +++ test/fixtures/ruby/end-block.B.rb | 4 +++ test/fixtures/ruby/end-block.diffA-B.txt | 5 ++++ test/fixtures/ruby/end-block.diffB-A.txt | 6 +++++ test/fixtures/ruby/end-block.parseA.txt | 3 +++ test/fixtures/ruby/end-block.parseB.txt | 4 +++ test/fixtures/ruby/ensure.A.rb | 4 +++ test/fixtures/ruby/ensure.B.rb | 5 ++++ test/fixtures/ruby/ensure.diffA-B.txt | 6 +++++ test/fixtures/ruby/ensure.diffB-A.txt | 6 +++++ test/fixtures/ruby/ensure.parseA.txt | 4 +++ test/fixtures/ruby/ensure.parseB.txt | 5 ++++ test/fixtures/ruby/for.A.rb | 3 +++ test/fixtures/ruby/for.B.rb | 3 +++ test/fixtures/ruby/for.diffA-B.txt | 14 ++++++++++ test/fixtures/ruby/for.diffB-A.txt | 14 ++++++++++ test/fixtures/ruby/for.parseA.txt | 5 ++++ test/fixtures/ruby/for.parseB.txt | 10 +++++++ test/fixtures/ruby/hash.A.rb | 1 + test/fixtures/ruby/hash.B.rb | 1 + test/fixtures/ruby/hash.diffA-B.txt | 23 ++++++++++++++++ test/fixtures/ruby/hash.diffB-A.txt | 23 ++++++++++++++++ test/fixtures/ruby/hash.parseA.txt | 14 ++++++++++ test/fixtures/ruby/hash.parseB.txt | 11 ++++++++ test/fixtures/ruby/if-unless-modifiers.A.rb | 1 + test/fixtures/ruby/if-unless-modifiers.B.rb | 1 + .../ruby/if-unless-modifiers.diffA-B.txt | 8 ++++++ .../ruby/if-unless-modifiers.diffB-A.txt | 8 ++++++ .../ruby/if-unless-modifiers.parseA.txt | 5 ++++ .../ruby/if-unless-modifiers.parseB.txt | 4 +++ test/fixtures/ruby/if.A.rb | 7 +++++ test/fixtures/ruby/if.B.rb | 4 +++ test/fixtures/ruby/if.diffA-B.txt | 12 +++++++++ test/fixtures/ruby/if.diffB-A.txt | 12 +++++++++ test/fixtures/ruby/if.parseA.txt | 9 +++++++ test/fixtures/ruby/if.parseB.txt | 5 ++++ test/fixtures/ruby/interpolation.A.rb | 2 ++ test/fixtures/ruby/interpolation.B.rb | 2 ++ test/fixtures/ruby/interpolation.diffA-B.txt | 7 +++++ test/fixtures/ruby/interpolation.diffB-A.txt | 7 +++++ test/fixtures/ruby/interpolation.parseA.txt | 5 ++++ test/fixtures/ruby/interpolation.parseB.txt | 5 ++++ test/fixtures/ruby/lambda-dash-rocket.A.rb | 4 +++ test/fixtures/ruby/lambda-dash-rocket.B.rb | 1 + .../ruby/lambda-dash-rocket.diffA-B.txt | 9 +++++++ .../ruby/lambda-dash-rocket.diffB-A.txt | 9 +++++++ .../ruby/lambda-dash-rocket.parseA.txt | 7 +++++ .../ruby/lambda-dash-rocket.parseB.txt | 3 +++ test/fixtures/ruby/lambda.A.rb | 1 + test/fixtures/ruby/lambda.B.rb | 1 + test/fixtures/ruby/lambda.diffA-B.txt | 9 +++++++ test/fixtures/ruby/lambda.diffB-A.txt | 9 +++++++ test/fixtures/ruby/lambda.parseA.txt | 3 +++ test/fixtures/ruby/lambda.parseB.txt | 7 +++++ test/fixtures/ruby/math-assignment.A.rb | 5 ++++ test/fixtures/ruby/math-assignment.B.rb | 5 ++++ .../fixtures/ruby/math-assignment.diffA-B.txt | 17 ++++++++++++ .../fixtures/ruby/math-assignment.diffB-A.txt | 17 ++++++++++++ test/fixtures/ruby/math-assignment.parseA.txt | 16 ++++++++++++ test/fixtures/ruby/math-assignment.parseB.txt | 16 ++++++++++++ .../fixtures/ruby/method-calls-hash-args.A.rb | 1 + .../fixtures/ruby/method-calls-hash-args.B.rb | 1 + .../ruby/method-calls-hash-args.diffA-B.txt | 9 +++++++ .../ruby/method-calls-hash-args.diffB-A.txt | 9 +++++++ .../ruby/method-calls-hash-args.parseA.txt | 6 +++++ .../ruby/method-calls-hash-args.parseB.txt | 9 +++++++ .../ruby/method-calls-keyword-args.A.rb | 1 + .../ruby/method-calls-keyword-args.B.rb | 1 + .../method-calls-keyword-args.diffA-B.txt | 9 +++++++ .../method-calls-keyword-args.diffB-A.txt | 9 +++++++ .../ruby/method-calls-keyword-args.parseA.txt | 6 +++++ .../ruby/method-calls-keyword-args.parseB.txt | 9 +++++++ test/fixtures/ruby/method-calls.A.rb | 1 + test/fixtures/ruby/method-calls.B.rb | 1 + test/fixtures/ruby/method-calls.diffA-B.txt | 6 +++++ test/fixtures/ruby/method-calls.diffB-A.txt | 6 +++++ test/fixtures/ruby/method-calls.parseA.txt | 4 +++ test/fixtures/ruby/method-calls.parseB.txt | 3 +++ .../method-declaration-keyword-param.A.rb | 2 ++ .../method-declaration-keyword-param.B.rb | 2 ++ ...thod-declaration-keyword-param.diffA-B.txt | 6 +++++ ...thod-declaration-keyword-param.diffB-A.txt | 6 +++++ ...ethod-declaration-keyword-param.parseA.txt | 3 +++ ...ethod-declaration-keyword-param.parseB.txt | 6 +++++ .../method-declaration-param-default.A.rb | 2 ++ .../method-declaration-param-default.B.rb | 2 ++ ...thod-declaration-param-default.diffA-B.txt | 6 +++++ ...thod-declaration-param-default.diffB-A.txt | 6 +++++ ...ethod-declaration-param-default.parseA.txt | 3 +++ ...ethod-declaration-param-default.parseB.txt | 6 +++++ .../ruby/method-declaration-params.A.rb | 2 ++ .../ruby/method-declaration-params.B.rb | 2 ++ .../method-declaration-params.diffA-B.txt | 6 +++++ .../method-declaration-params.diffB-A.txt | 6 +++++ .../ruby/method-declaration-params.parseA.txt | 4 +++ .../ruby/method-declaration-params.parseB.txt | 6 +++++ ...od-declaration-required-keyword-param.A.rb | 2 ++ ...od-declaration-required-keyword-param.B.rb | 2 ++ ...aration-required-keyword-param.diffA-B.txt | 5 ++++ ...aration-required-keyword-param.diffB-A.txt | 5 ++++ ...laration-required-keyword-param.parseA.txt | 3 +++ ...laration-required-keyword-param.parseB.txt | 5 ++++ .../method-declaration-unnamed-param.A.rb | 2 ++ .../method-declaration-unnamed-param.B.rb | 2 ++ ...thod-declaration-unnamed-param.diffA-B.txt | 5 ++++ ...thod-declaration-unnamed-param.diffB-A.txt | 5 ++++ ...ethod-declaration-unnamed-param.parseA.txt | 4 +++ ...ethod-declaration-unnamed-param.parseB.txt | 5 ++++ test/fixtures/ruby/method-declaration.A.rb | 2 ++ test/fixtures/ruby/method-declaration.B.rb | 3 +++ .../ruby/method-declaration.diffA-B.txt | 6 +++++ .../ruby/method-declaration.diffB-A.txt | 6 +++++ .../ruby/method-declaration.parseA.txt | 3 +++ .../ruby/method-declaration.parseB.txt | 5 ++++ test/fixtures/ruby/method-invocation.A.rb | 3 +++ test/fixtures/ruby/method-invocation.B.rb | 4 +++ .../ruby/method-invocation.diffA-B.txt | 20 ++++++++++++++ .../ruby/method-invocation.diffB-A.txt | 20 ++++++++++++++ .../ruby/method-invocation.parseA.txt | 6 +++++ .../ruby/method-invocation.parseB.txt | 15 +++++++++++ test/fixtures/ruby/module.A.rb | 2 ++ test/fixtures/ruby/module.B.rb | 4 +++ test/fixtures/ruby/module.diffA-B.txt | 5 ++++ test/fixtures/ruby/module.diffB-A.txt | 5 ++++ test/fixtures/ruby/module.parseA.txt | 3 +++ test/fixtures/ruby/module.parseB.txt | 5 ++++ test/fixtures/ruby/multiple-assignments.A.rb | 1 + test/fixtures/ruby/multiple-assignments.B.rb | 1 + .../ruby/multiple-assignments.diffA-B.txt | 12 +++++++++ .../ruby/multiple-assignments.diffB-A.txt | 12 +++++++++ .../ruby/multiple-assignments.parseA.txt | 10 +++++++ .../ruby/multiple-assignments.parseB.txt | 10 +++++++ test/fixtures/ruby/number.A.rb | 7 +++++ test/fixtures/ruby/number.B.rb | 7 +++++ test/fixtures/ruby/number.diffA-B.txt | 15 +++++++++++ test/fixtures/ruby/number.diffB-A.txt | 15 +++++++++++ test/fixtures/ruby/number.parseA.txt | 8 ++++++ test/fixtures/ruby/number.parseB.txt | 8 ++++++ test/fixtures/ruby/percent-array.A.rb | 1 + test/fixtures/ruby/percent-array.B.rb | 1 + test/fixtures/ruby/percent-array.diffA-B.txt | 3 +++ test/fixtures/ruby/percent-array.diffB-A.txt | 3 +++ test/fixtures/ruby/percent-array.parseA.txt | 2 ++ test/fixtures/ruby/percent-array.parseB.txt | 3 +++ test/fixtures/ruby/pseudo-variables.A.rb | 4 +++ test/fixtures/ruby/pseudo-variables.B.rb | 4 +++ .../ruby/pseudo-variables.diffA-B.txt | 8 ++++++ .../ruby/pseudo-variables.diffB-A.txt | 8 ++++++ .../fixtures/ruby/pseudo-variables.parseA.txt | 5 ++++ .../fixtures/ruby/pseudo-variables.parseB.txt | 5 ++++ test/fixtures/ruby/regex.A.rb | 1 + test/fixtures/ruby/regex.B.rb | 2 ++ test/fixtures/ruby/regex.diffA-B.txt | 4 +++ test/fixtures/ruby/regex.diffB-A.txt | 4 +++ test/fixtures/ruby/regex.parseA.txt | 2 ++ test/fixtures/ruby/regex.parseB.txt | 3 +++ test/fixtures/ruby/relational-operator.A.rb | 3 +++ test/fixtures/ruby/relational-operator.B.rb | 3 +++ .../ruby/relational-operator.diffA-B.txt | 26 +++++++++++++++++++ .../ruby/relational-operator.diffB-A.txt | 26 +++++++++++++++++++ .../ruby/relational-operator.parseA.txt | 13 ++++++++++ .../ruby/relational-operator.parseB.txt | 14 ++++++++++ test/fixtures/ruby/rescue-empty.A.rb | 4 +++ test/fixtures/ruby/rescue-empty.B.rb | 5 ++++ test/fixtures/ruby/rescue-empty.diffA-B.txt | 5 ++++ test/fixtures/ruby/rescue-empty.diffB-A.txt | 5 ++++ test/fixtures/ruby/rescue-empty.parseA.txt | 4 +++ test/fixtures/ruby/rescue-empty.parseB.txt | 5 ++++ test/fixtures/ruby/rescue-last-ex.A.rb | 4 +++ test/fixtures/ruby/rescue-last-ex.B.rb | 5 ++++ test/fixtures/ruby/rescue-last-ex.diffA-B.txt | 8 ++++++ test/fixtures/ruby/rescue-last-ex.diffB-A.txt | 8 ++++++ test/fixtures/ruby/rescue-last-ex.parseA.txt | 7 +++++ test/fixtures/ruby/rescue-last-ex.parseB.txt | 8 ++++++ test/fixtures/ruby/rescue-modifier.A.rb | 1 + test/fixtures/ruby/rescue-modifier.B.rb | 1 + .../fixtures/ruby/rescue-modifier.diffA-B.txt | 7 +++++ .../fixtures/ruby/rescue-modifier.diffB-A.txt | 7 +++++ test/fixtures/ruby/rescue-modifier.parseA.txt | 4 +++ test/fixtures/ruby/rescue-modifier.parseB.txt | 4 +++ test/fixtures/ruby/rescue-modifier2.A.rb | 1 + test/fixtures/ruby/rescue-modifier2.B.rb | 1 + .../ruby/rescue-modifier2.diffA-B.txt | 5 ++++ .../ruby/rescue-modifier2.diffB-A.txt | 5 ++++ .../fixtures/ruby/rescue-modifier2.parseA.txt | 4 +++ .../fixtures/ruby/rescue-modifier2.parseB.txt | 4 +++ test/fixtures/ruby/rescue.A.rb | 4 +++ test/fixtures/ruby/rescue.B.rb | 5 ++++ test/fixtures/ruby/rescue.diffA-B.txt | 6 +++++ test/fixtures/ruby/rescue.diffB-A.txt | 6 +++++ test/fixtures/ruby/rescue.parseA.txt | 5 ++++ test/fixtures/ruby/rescue.parseB.txt | 6 +++++ test/fixtures/ruby/return.A.rb | 1 + test/fixtures/ruby/return.B.rb | 1 + test/fixtures/ruby/return.diffA-B.txt | 4 +++ test/fixtures/ruby/return.diffB-A.txt | 4 +++ test/fixtures/ruby/return.parseA.txt | 4 +++ test/fixtures/ruby/return.parseB.txt | 2 ++ test/fixtures/ruby/string.A.rb | 2 ++ test/fixtures/ruby/string.B.rb | 2 ++ test/fixtures/ruby/string.diffA-B.txt | 5 ++++ test/fixtures/ruby/string.diffB-A.txt | 5 ++++ test/fixtures/ruby/string.parseA.txt | 3 +++ test/fixtures/ruby/string.parseB.txt | 3 +++ test/fixtures/ruby/subshell.A.rb | 1 + test/fixtures/ruby/subshell.B.rb | 1 + test/fixtures/ruby/subshell.diffA-B.txt | 3 +++ test/fixtures/ruby/subshell.diffB-A.txt | 3 +++ test/fixtures/ruby/subshell.parseA.txt | 2 ++ test/fixtures/ruby/subshell.parseB.txt | 2 ++ test/fixtures/ruby/symbol.A.rb | 3 +++ test/fixtures/ruby/symbol.B.rb | 3 +++ test/fixtures/ruby/symbol.diffA-B.txt | 7 +++++ test/fixtures/ruby/symbol.diffB-A.txt | 7 +++++ test/fixtures/ruby/symbol.parseA.txt | 4 +++ test/fixtures/ruby/symbol.parseB.txt | 4 +++ test/fixtures/ruby/ternary.A.rb | 1 + test/fixtures/ruby/ternary.B.rb | 1 + test/fixtures/ruby/ternary.diffA-B.txt | 8 ++++++ test/fixtures/ruby/ternary.diffB-A.txt | 8 ++++++ test/fixtures/ruby/ternary.parseA.txt | 5 ++++ test/fixtures/ruby/ternary.parseB.txt | 5 ++++ test/fixtures/ruby/unless.A.rb | 5 ++++ test/fixtures/ruby/unless.B.rb | 4 +++ test/fixtures/ruby/unless.diffA-B.txt | 11 ++++++++ test/fixtures/ruby/unless.diffB-A.txt | 11 ++++++++ test/fixtures/ruby/unless.parseA.txt | 7 +++++ test/fixtures/ruby/unless.parseB.txt | 7 +++++ test/fixtures/ruby/until.A.rb | 3 +++ test/fixtures/ruby/until.B.rb | 3 +++ test/fixtures/ruby/until.diffA-B.txt | 9 +++++++ test/fixtures/ruby/until.diffB-A.txt | 9 +++++++ test/fixtures/ruby/until.parseA.txt | 8 ++++++ test/fixtures/ruby/until.parseB.txt | 5 ++++ test/fixtures/ruby/when-else.A.rb | 5 ++++ test/fixtures/ruby/when-else.B.rb | 6 +++++ test/fixtures/ruby/when-else.diffA-B.txt | 10 +++++++ test/fixtures/ruby/when-else.diffB-A.txt | 10 +++++++ test/fixtures/ruby/when-else.parseA.txt | 8 ++++++ test/fixtures/ruby/when-else.parseB.txt | 9 +++++++ test/fixtures/ruby/when.A.rb | 3 +++ test/fixtures/ruby/when.B.rb | 4 +++ test/fixtures/ruby/when.diffA-B.txt | 7 +++++ test/fixtures/ruby/when.diffB-A.txt | 7 +++++ test/fixtures/ruby/when.parseA.txt | 6 +++++ test/fixtures/ruby/when.parseB.txt | 7 +++++ test/fixtures/ruby/while.A.rb | 3 +++ test/fixtures/ruby/while.B.rb | 3 +++ test/fixtures/ruby/while.diffA-B.txt | 7 +++++ test/fixtures/ruby/while.diffB-A.txt | 7 +++++ test/fixtures/ruby/while.parseA.txt | 6 +++++ test/fixtures/ruby/while.parseB.txt | 4 +++ test/fixtures/ruby/yield.A.rb | 1 + test/fixtures/ruby/yield.B.rb | 1 + test/fixtures/ruby/yield.diffA-B.txt | 4 +++ test/fixtures/ruby/yield.diffB-A.txt | 4 +++ test/fixtures/ruby/yield.parseA.txt | 4 +++ test/fixtures/ruby/yield.parseB.txt | 2 ++ 348 files changed, 2041 insertions(+), 30 deletions(-) create mode 100644 test/fixtures/ruby/array.A.rb create mode 100644 test/fixtures/ruby/array.B.rb create mode 100644 test/fixtures/ruby/array.diffA-B.txt create mode 100644 test/fixtures/ruby/array.diffB-A.txt create mode 100644 test/fixtures/ruby/array.parseA.txt create mode 100644 test/fixtures/ruby/array.parseB.txt create mode 100644 test/fixtures/ruby/assignment.A.rb create mode 100644 test/fixtures/ruby/assignment.B.rb create mode 100644 test/fixtures/ruby/assignment.diffA-B.txt create mode 100644 test/fixtures/ruby/assignment.diffB-A.txt create mode 100644 test/fixtures/ruby/assignment.parseA.txt create mode 100644 test/fixtures/ruby/assignment.parseB.txt create mode 100644 test/fixtures/ruby/begin-block.A.rb create mode 100644 test/fixtures/ruby/begin-block.B.rb create mode 100644 test/fixtures/ruby/begin-block.diffA-B.txt create mode 100644 test/fixtures/ruby/begin-block.diffB-A.txt create mode 100644 test/fixtures/ruby/begin-block.parseA.txt create mode 100644 test/fixtures/ruby/begin-block.parseB.txt create mode 100644 test/fixtures/ruby/begin.A.rb create mode 100644 test/fixtures/ruby/begin.B.rb create mode 100644 test/fixtures/ruby/begin.diffA-B.txt create mode 100644 test/fixtures/ruby/begin.diffB-A.txt create mode 100644 test/fixtures/ruby/begin.parseA.txt create mode 100644 test/fixtures/ruby/begin.parseB.txt create mode 100644 test/fixtures/ruby/bitwise-operator.A.rb create mode 100644 test/fixtures/ruby/bitwise-operator.B.rb create mode 100644 test/fixtures/ruby/bitwise-operator.diffA-B.txt create mode 100644 test/fixtures/ruby/bitwise-operator.diffB-A.txt create mode 100644 test/fixtures/ruby/bitwise-operator.parseA.txt create mode 100644 test/fixtures/ruby/bitwise-operator.parseB.txt create mode 100644 test/fixtures/ruby/boolean-operator.A.rb create mode 100644 test/fixtures/ruby/boolean-operator.B.rb create mode 100644 test/fixtures/ruby/boolean-operator.diffA-B.txt create mode 100644 test/fixtures/ruby/boolean-operator.diffB-A.txt create mode 100644 test/fixtures/ruby/boolean-operator.parseA.txt create mode 100644 test/fixtures/ruby/boolean-operator.parseB.txt create mode 100644 test/fixtures/ruby/class.A.rb create mode 100644 test/fixtures/ruby/class.B.rb create mode 100644 test/fixtures/ruby/class.diffA-B.txt create mode 100644 test/fixtures/ruby/class.diffB-A.txt create mode 100644 test/fixtures/ruby/class.parseA.txt create mode 100644 test/fixtures/ruby/class.parseB.txt create mode 100644 test/fixtures/ruby/comment.A.rb create mode 100644 test/fixtures/ruby/comment.B.rb create mode 100644 test/fixtures/ruby/comment.diffA-B.txt create mode 100644 test/fixtures/ruby/comment.diffB-A.txt create mode 100644 test/fixtures/ruby/comment.parseA.txt create mode 100644 test/fixtures/ruby/comment.parseB.txt create mode 100644 test/fixtures/ruby/comparision-operator.A.rb create mode 100644 test/fixtures/ruby/comparision-operator.B.rb create mode 100644 test/fixtures/ruby/comparision-operator.diffA-B.txt create mode 100644 test/fixtures/ruby/comparision-operator.diffB-A.txt create mode 100644 test/fixtures/ruby/comparision-operator.parseA.txt create mode 100644 test/fixtures/ruby/comparision-operator.parseB.txt create mode 100644 test/fixtures/ruby/conditional-assignment.A.rb create mode 100644 test/fixtures/ruby/conditional-assignment.B.rb create mode 100644 test/fixtures/ruby/conditional-assignment.diffA-B.txt create mode 100644 test/fixtures/ruby/conditional-assignment.diffB-A.txt create mode 100644 test/fixtures/ruby/conditional-assignment.parseA.txt create mode 100644 test/fixtures/ruby/conditional-assignment.parseB.txt create mode 100644 test/fixtures/ruby/delimiter.A.rb create mode 100644 test/fixtures/ruby/delimiter.B.rb create mode 100644 test/fixtures/ruby/delimiter.diffA-B.txt create mode 100644 test/fixtures/ruby/delimiter.diffB-A.txt create mode 100644 test/fixtures/ruby/delimiter.parseA.txt create mode 100644 test/fixtures/ruby/delimiter.parseB.txt create mode 100644 test/fixtures/ruby/element-reference.A.rb create mode 100644 test/fixtures/ruby/element-reference.B.rb create mode 100644 test/fixtures/ruby/element-reference.diffA-B.txt create mode 100644 test/fixtures/ruby/element-reference.diffB-A.txt create mode 100644 test/fixtures/ruby/element-reference.parseA.txt create mode 100644 test/fixtures/ruby/element-reference.parseB.txt create mode 100644 test/fixtures/ruby/else.A.rb create mode 100644 test/fixtures/ruby/else.B.rb create mode 100644 test/fixtures/ruby/else.diffA-B.txt create mode 100644 test/fixtures/ruby/else.diffB-A.txt create mode 100644 test/fixtures/ruby/else.parseA.txt create mode 100644 test/fixtures/ruby/else.parseB.txt create mode 100644 test/fixtures/ruby/elsif.A.rb create mode 100644 test/fixtures/ruby/elsif.B.rb create mode 100644 test/fixtures/ruby/elsif.diffA-B.txt create mode 100644 test/fixtures/ruby/elsif.diffB-A.txt create mode 100644 test/fixtures/ruby/elsif.parseA.txt create mode 100644 test/fixtures/ruby/elsif.parseB.txt create mode 100644 test/fixtures/ruby/end-block.A.rb create mode 100644 test/fixtures/ruby/end-block.B.rb create mode 100644 test/fixtures/ruby/end-block.diffA-B.txt create mode 100644 test/fixtures/ruby/end-block.diffB-A.txt create mode 100644 test/fixtures/ruby/end-block.parseA.txt create mode 100644 test/fixtures/ruby/end-block.parseB.txt create mode 100644 test/fixtures/ruby/ensure.A.rb create mode 100644 test/fixtures/ruby/ensure.B.rb create mode 100644 test/fixtures/ruby/ensure.diffA-B.txt create mode 100644 test/fixtures/ruby/ensure.diffB-A.txt create mode 100644 test/fixtures/ruby/ensure.parseA.txt create mode 100644 test/fixtures/ruby/ensure.parseB.txt create mode 100644 test/fixtures/ruby/for.A.rb create mode 100644 test/fixtures/ruby/for.B.rb create mode 100644 test/fixtures/ruby/for.diffA-B.txt create mode 100644 test/fixtures/ruby/for.diffB-A.txt create mode 100644 test/fixtures/ruby/for.parseA.txt create mode 100644 test/fixtures/ruby/for.parseB.txt create mode 100644 test/fixtures/ruby/hash.A.rb create mode 100644 test/fixtures/ruby/hash.B.rb create mode 100644 test/fixtures/ruby/hash.diffA-B.txt create mode 100644 test/fixtures/ruby/hash.diffB-A.txt create mode 100644 test/fixtures/ruby/hash.parseA.txt create mode 100644 test/fixtures/ruby/hash.parseB.txt create mode 100644 test/fixtures/ruby/if-unless-modifiers.A.rb create mode 100644 test/fixtures/ruby/if-unless-modifiers.B.rb create mode 100644 test/fixtures/ruby/if-unless-modifiers.diffA-B.txt create mode 100644 test/fixtures/ruby/if-unless-modifiers.diffB-A.txt create mode 100644 test/fixtures/ruby/if-unless-modifiers.parseA.txt create mode 100644 test/fixtures/ruby/if-unless-modifiers.parseB.txt create mode 100644 test/fixtures/ruby/if.A.rb create mode 100644 test/fixtures/ruby/if.B.rb create mode 100644 test/fixtures/ruby/if.diffA-B.txt create mode 100644 test/fixtures/ruby/if.diffB-A.txt create mode 100644 test/fixtures/ruby/if.parseA.txt create mode 100644 test/fixtures/ruby/if.parseB.txt create mode 100644 test/fixtures/ruby/interpolation.A.rb create mode 100644 test/fixtures/ruby/interpolation.B.rb create mode 100644 test/fixtures/ruby/interpolation.diffA-B.txt create mode 100644 test/fixtures/ruby/interpolation.diffB-A.txt create mode 100644 test/fixtures/ruby/interpolation.parseA.txt create mode 100644 test/fixtures/ruby/interpolation.parseB.txt create mode 100644 test/fixtures/ruby/lambda-dash-rocket.A.rb create mode 100644 test/fixtures/ruby/lambda-dash-rocket.B.rb create mode 100644 test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt create mode 100644 test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt create mode 100644 test/fixtures/ruby/lambda-dash-rocket.parseA.txt create mode 100644 test/fixtures/ruby/lambda-dash-rocket.parseB.txt create mode 100644 test/fixtures/ruby/lambda.A.rb create mode 100644 test/fixtures/ruby/lambda.B.rb create mode 100644 test/fixtures/ruby/lambda.diffA-B.txt create mode 100644 test/fixtures/ruby/lambda.diffB-A.txt create mode 100644 test/fixtures/ruby/lambda.parseA.txt create mode 100644 test/fixtures/ruby/lambda.parseB.txt create mode 100644 test/fixtures/ruby/math-assignment.A.rb create mode 100644 test/fixtures/ruby/math-assignment.B.rb create mode 100644 test/fixtures/ruby/math-assignment.diffA-B.txt create mode 100644 test/fixtures/ruby/math-assignment.diffB-A.txt create mode 100644 test/fixtures/ruby/math-assignment.parseA.txt create mode 100644 test/fixtures/ruby/math-assignment.parseB.txt create mode 100644 test/fixtures/ruby/method-calls-hash-args.A.rb create mode 100644 test/fixtures/ruby/method-calls-hash-args.B.rb create mode 100644 test/fixtures/ruby/method-calls-hash-args.diffA-B.txt create mode 100644 test/fixtures/ruby/method-calls-hash-args.diffB-A.txt create mode 100644 test/fixtures/ruby/method-calls-hash-args.parseA.txt create mode 100644 test/fixtures/ruby/method-calls-hash-args.parseB.txt create mode 100644 test/fixtures/ruby/method-calls-keyword-args.A.rb create mode 100644 test/fixtures/ruby/method-calls-keyword-args.B.rb create mode 100644 test/fixtures/ruby/method-calls-keyword-args.diffA-B.txt create mode 100644 test/fixtures/ruby/method-calls-keyword-args.diffB-A.txt create mode 100644 test/fixtures/ruby/method-calls-keyword-args.parseA.txt create mode 100644 test/fixtures/ruby/method-calls-keyword-args.parseB.txt create mode 100644 test/fixtures/ruby/method-calls.A.rb create mode 100644 test/fixtures/ruby/method-calls.B.rb create mode 100644 test/fixtures/ruby/method-calls.diffA-B.txt create mode 100644 test/fixtures/ruby/method-calls.diffB-A.txt create mode 100644 test/fixtures/ruby/method-calls.parseA.txt create mode 100644 test/fixtures/ruby/method-calls.parseB.txt create mode 100644 test/fixtures/ruby/method-declaration-keyword-param.A.rb create mode 100644 test/fixtures/ruby/method-declaration-keyword-param.B.rb create mode 100644 test/fixtures/ruby/method-declaration-keyword-param.diffA-B.txt create mode 100644 test/fixtures/ruby/method-declaration-keyword-param.diffB-A.txt create mode 100644 test/fixtures/ruby/method-declaration-keyword-param.parseA.txt create mode 100644 test/fixtures/ruby/method-declaration-keyword-param.parseB.txt create mode 100644 test/fixtures/ruby/method-declaration-param-default.A.rb create mode 100644 test/fixtures/ruby/method-declaration-param-default.B.rb create mode 100644 test/fixtures/ruby/method-declaration-param-default.diffA-B.txt create mode 100644 test/fixtures/ruby/method-declaration-param-default.diffB-A.txt create mode 100644 test/fixtures/ruby/method-declaration-param-default.parseA.txt create mode 100644 test/fixtures/ruby/method-declaration-param-default.parseB.txt create mode 100644 test/fixtures/ruby/method-declaration-params.A.rb create mode 100644 test/fixtures/ruby/method-declaration-params.B.rb create mode 100644 test/fixtures/ruby/method-declaration-params.diffA-B.txt create mode 100644 test/fixtures/ruby/method-declaration-params.diffB-A.txt create mode 100644 test/fixtures/ruby/method-declaration-params.parseA.txt create mode 100644 test/fixtures/ruby/method-declaration-params.parseB.txt create mode 100644 test/fixtures/ruby/method-declaration-required-keyword-param.A.rb create mode 100644 test/fixtures/ruby/method-declaration-required-keyword-param.B.rb create mode 100644 test/fixtures/ruby/method-declaration-required-keyword-param.diffA-B.txt create mode 100644 test/fixtures/ruby/method-declaration-required-keyword-param.diffB-A.txt create mode 100644 test/fixtures/ruby/method-declaration-required-keyword-param.parseA.txt create mode 100644 test/fixtures/ruby/method-declaration-required-keyword-param.parseB.txt create mode 100644 test/fixtures/ruby/method-declaration-unnamed-param.A.rb create mode 100644 test/fixtures/ruby/method-declaration-unnamed-param.B.rb create mode 100644 test/fixtures/ruby/method-declaration-unnamed-param.diffA-B.txt create mode 100644 test/fixtures/ruby/method-declaration-unnamed-param.diffB-A.txt create mode 100644 test/fixtures/ruby/method-declaration-unnamed-param.parseA.txt create mode 100644 test/fixtures/ruby/method-declaration-unnamed-param.parseB.txt create mode 100644 test/fixtures/ruby/method-declaration.A.rb create mode 100644 test/fixtures/ruby/method-declaration.B.rb create mode 100644 test/fixtures/ruby/method-declaration.diffA-B.txt create mode 100644 test/fixtures/ruby/method-declaration.diffB-A.txt create mode 100644 test/fixtures/ruby/method-declaration.parseA.txt create mode 100644 test/fixtures/ruby/method-declaration.parseB.txt create mode 100644 test/fixtures/ruby/method-invocation.A.rb create mode 100644 test/fixtures/ruby/method-invocation.B.rb create mode 100644 test/fixtures/ruby/method-invocation.diffA-B.txt create mode 100644 test/fixtures/ruby/method-invocation.diffB-A.txt create mode 100644 test/fixtures/ruby/method-invocation.parseA.txt create mode 100644 test/fixtures/ruby/method-invocation.parseB.txt create mode 100644 test/fixtures/ruby/module.A.rb create mode 100644 test/fixtures/ruby/module.B.rb create mode 100644 test/fixtures/ruby/module.diffA-B.txt create mode 100644 test/fixtures/ruby/module.diffB-A.txt create mode 100644 test/fixtures/ruby/module.parseA.txt create mode 100644 test/fixtures/ruby/module.parseB.txt create mode 100644 test/fixtures/ruby/multiple-assignments.A.rb create mode 100644 test/fixtures/ruby/multiple-assignments.B.rb create mode 100644 test/fixtures/ruby/multiple-assignments.diffA-B.txt create mode 100644 test/fixtures/ruby/multiple-assignments.diffB-A.txt create mode 100644 test/fixtures/ruby/multiple-assignments.parseA.txt create mode 100644 test/fixtures/ruby/multiple-assignments.parseB.txt create mode 100644 test/fixtures/ruby/number.A.rb create mode 100644 test/fixtures/ruby/number.B.rb create mode 100644 test/fixtures/ruby/number.diffA-B.txt create mode 100644 test/fixtures/ruby/number.diffB-A.txt create mode 100644 test/fixtures/ruby/number.parseA.txt create mode 100644 test/fixtures/ruby/number.parseB.txt create mode 100644 test/fixtures/ruby/percent-array.A.rb create mode 100644 test/fixtures/ruby/percent-array.B.rb create mode 100644 test/fixtures/ruby/percent-array.diffA-B.txt create mode 100644 test/fixtures/ruby/percent-array.diffB-A.txt create mode 100644 test/fixtures/ruby/percent-array.parseA.txt create mode 100644 test/fixtures/ruby/percent-array.parseB.txt create mode 100644 test/fixtures/ruby/pseudo-variables.A.rb create mode 100644 test/fixtures/ruby/pseudo-variables.B.rb create mode 100644 test/fixtures/ruby/pseudo-variables.diffA-B.txt create mode 100644 test/fixtures/ruby/pseudo-variables.diffB-A.txt create mode 100644 test/fixtures/ruby/pseudo-variables.parseA.txt create mode 100644 test/fixtures/ruby/pseudo-variables.parseB.txt create mode 100644 test/fixtures/ruby/regex.A.rb create mode 100644 test/fixtures/ruby/regex.B.rb create mode 100644 test/fixtures/ruby/regex.diffA-B.txt create mode 100644 test/fixtures/ruby/regex.diffB-A.txt create mode 100644 test/fixtures/ruby/regex.parseA.txt create mode 100644 test/fixtures/ruby/regex.parseB.txt create mode 100644 test/fixtures/ruby/relational-operator.A.rb create mode 100644 test/fixtures/ruby/relational-operator.B.rb create mode 100644 test/fixtures/ruby/relational-operator.diffA-B.txt create mode 100644 test/fixtures/ruby/relational-operator.diffB-A.txt create mode 100644 test/fixtures/ruby/relational-operator.parseA.txt create mode 100644 test/fixtures/ruby/relational-operator.parseB.txt create mode 100644 test/fixtures/ruby/rescue-empty.A.rb create mode 100644 test/fixtures/ruby/rescue-empty.B.rb create mode 100644 test/fixtures/ruby/rescue-empty.diffA-B.txt create mode 100644 test/fixtures/ruby/rescue-empty.diffB-A.txt create mode 100644 test/fixtures/ruby/rescue-empty.parseA.txt create mode 100644 test/fixtures/ruby/rescue-empty.parseB.txt create mode 100644 test/fixtures/ruby/rescue-last-ex.A.rb create mode 100644 test/fixtures/ruby/rescue-last-ex.B.rb create mode 100644 test/fixtures/ruby/rescue-last-ex.diffA-B.txt create mode 100644 test/fixtures/ruby/rescue-last-ex.diffB-A.txt create mode 100644 test/fixtures/ruby/rescue-last-ex.parseA.txt create mode 100644 test/fixtures/ruby/rescue-last-ex.parseB.txt create mode 100644 test/fixtures/ruby/rescue-modifier.A.rb create mode 100644 test/fixtures/ruby/rescue-modifier.B.rb create mode 100644 test/fixtures/ruby/rescue-modifier.diffA-B.txt create mode 100644 test/fixtures/ruby/rescue-modifier.diffB-A.txt create mode 100644 test/fixtures/ruby/rescue-modifier.parseA.txt create mode 100644 test/fixtures/ruby/rescue-modifier.parseB.txt create mode 100644 test/fixtures/ruby/rescue-modifier2.A.rb create mode 100644 test/fixtures/ruby/rescue-modifier2.B.rb create mode 100644 test/fixtures/ruby/rescue-modifier2.diffA-B.txt create mode 100644 test/fixtures/ruby/rescue-modifier2.diffB-A.txt create mode 100644 test/fixtures/ruby/rescue-modifier2.parseA.txt create mode 100644 test/fixtures/ruby/rescue-modifier2.parseB.txt create mode 100644 test/fixtures/ruby/rescue.A.rb create mode 100644 test/fixtures/ruby/rescue.B.rb create mode 100644 test/fixtures/ruby/rescue.diffA-B.txt create mode 100644 test/fixtures/ruby/rescue.diffB-A.txt create mode 100644 test/fixtures/ruby/rescue.parseA.txt create mode 100644 test/fixtures/ruby/rescue.parseB.txt create mode 100644 test/fixtures/ruby/return.A.rb create mode 100644 test/fixtures/ruby/return.B.rb create mode 100644 test/fixtures/ruby/return.diffA-B.txt create mode 100644 test/fixtures/ruby/return.diffB-A.txt create mode 100644 test/fixtures/ruby/return.parseA.txt create mode 100644 test/fixtures/ruby/return.parseB.txt create mode 100644 test/fixtures/ruby/string.A.rb create mode 100644 test/fixtures/ruby/string.B.rb create mode 100644 test/fixtures/ruby/string.diffA-B.txt create mode 100644 test/fixtures/ruby/string.diffB-A.txt create mode 100644 test/fixtures/ruby/string.parseA.txt create mode 100644 test/fixtures/ruby/string.parseB.txt create mode 100644 test/fixtures/ruby/subshell.A.rb create mode 100644 test/fixtures/ruby/subshell.B.rb create mode 100644 test/fixtures/ruby/subshell.diffA-B.txt create mode 100644 test/fixtures/ruby/subshell.diffB-A.txt create mode 100644 test/fixtures/ruby/subshell.parseA.txt create mode 100644 test/fixtures/ruby/subshell.parseB.txt create mode 100644 test/fixtures/ruby/symbol.A.rb create mode 100644 test/fixtures/ruby/symbol.B.rb create mode 100644 test/fixtures/ruby/symbol.diffA-B.txt create mode 100644 test/fixtures/ruby/symbol.diffB-A.txt create mode 100644 test/fixtures/ruby/symbol.parseA.txt create mode 100644 test/fixtures/ruby/symbol.parseB.txt create mode 100644 test/fixtures/ruby/ternary.A.rb create mode 100644 test/fixtures/ruby/ternary.B.rb create mode 100644 test/fixtures/ruby/ternary.diffA-B.txt create mode 100644 test/fixtures/ruby/ternary.diffB-A.txt create mode 100644 test/fixtures/ruby/ternary.parseA.txt create mode 100644 test/fixtures/ruby/ternary.parseB.txt create mode 100644 test/fixtures/ruby/unless.A.rb create mode 100644 test/fixtures/ruby/unless.B.rb create mode 100644 test/fixtures/ruby/unless.diffA-B.txt create mode 100644 test/fixtures/ruby/unless.diffB-A.txt create mode 100644 test/fixtures/ruby/unless.parseA.txt create mode 100644 test/fixtures/ruby/unless.parseB.txt create mode 100644 test/fixtures/ruby/until.A.rb create mode 100644 test/fixtures/ruby/until.B.rb create mode 100644 test/fixtures/ruby/until.diffA-B.txt create mode 100644 test/fixtures/ruby/until.diffB-A.txt create mode 100644 test/fixtures/ruby/until.parseA.txt create mode 100644 test/fixtures/ruby/until.parseB.txt create mode 100644 test/fixtures/ruby/when-else.A.rb create mode 100644 test/fixtures/ruby/when-else.B.rb create mode 100644 test/fixtures/ruby/when-else.diffA-B.txt create mode 100644 test/fixtures/ruby/when-else.diffB-A.txt create mode 100644 test/fixtures/ruby/when-else.parseA.txt create mode 100644 test/fixtures/ruby/when-else.parseB.txt create mode 100644 test/fixtures/ruby/when.A.rb create mode 100644 test/fixtures/ruby/when.B.rb create mode 100644 test/fixtures/ruby/when.diffA-B.txt create mode 100644 test/fixtures/ruby/when.diffB-A.txt create mode 100644 test/fixtures/ruby/when.parseA.txt create mode 100644 test/fixtures/ruby/when.parseB.txt create mode 100644 test/fixtures/ruby/while.A.rb create mode 100644 test/fixtures/ruby/while.B.rb create mode 100644 test/fixtures/ruby/while.diffA-B.txt create mode 100644 test/fixtures/ruby/while.diffB-A.txt create mode 100644 test/fixtures/ruby/while.parseA.txt create mode 100644 test/fixtures/ruby/while.parseB.txt create mode 100644 test/fixtures/ruby/yield.A.rb create mode 100644 test/fixtures/ruby/yield.B.rb create mode 100644 test/fixtures/ruby/yield.diffA-B.txt create mode 100644 test/fixtures/ruby/yield.diffB-A.txt create mode 100644 test/fixtures/ruby/yield.parseA.txt create mode 100644 test/fixtures/ruby/yield.parseB.txt diff --git a/test/fixtures/ruby/and-or.A.rb b/test/fixtures/ruby/and-or.A.rb index b5a6ff8ab..af887ba25 100644 --- a/test/fixtures/ruby/and-or.A.rb +++ b/test/fixtures/ruby/and-or.A.rb @@ -1,3 +1 @@ -foo and bar -bar or foo -bar and foo +foo and bar \ No newline at end of file diff --git a/test/fixtures/ruby/and-or.B.rb b/test/fixtures/ruby/and-or.B.rb index 8eeb0d47b..b48b9d2a8 100644 --- a/test/fixtures/ruby/and-or.B.rb +++ b/test/fixtures/ruby/and-or.B.rb @@ -1 +1,2 @@ foo or bar +a or b and c \ No newline at end of file diff --git a/test/fixtures/ruby/and-or.diffA-B.txt b/test/fixtures/ruby/and-or.diffA-B.txt index 9de839b55..ecb807e9e 100644 --- a/test/fixtures/ruby/and-or.diffA-B.txt +++ b/test/fixtures/ruby/and-or.diffA-B.txt @@ -7,11 +7,10 @@ (Identifier) (Other "or") (Identifier)) } -{-(Binary - (Identifier) - (Other "or") - (Identifier))-} -{-(Binary - (Identifier) +{+(Binary + (Binary + (Identifier) + (Other "or") + (Identifier)) (Other "and") - (Identifier))-}) + (Identifier))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/and-or.diffB-A.txt b/test/fixtures/ruby/and-or.diffB-A.txt index 2e853b2f9..beba35940 100644 --- a/test/fixtures/ruby/and-or.diffB-A.txt +++ b/test/fixtures/ruby/and-or.diffB-A.txt @@ -1,15 +1,16 @@ (Program -{+(Binary +{ (Binary (Identifier) - (Other "and") - (Identifier))+} - (Binary - { (Identifier) - ->(Identifier) } (Other "or") - { (Identifier) - ->(Identifier) }) -{+(Binary + (Identifier)) +->(Binary (Identifier) (Other "and") - (Identifier))+}) + (Identifier)) } +{-(Binary + (Binary + (Identifier) + (Other "or") + (Identifier)) + (Other "and") + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/and-or.parseA.txt b/test/fixtures/ruby/and-or.parseA.txt index 20d0b5225..8c16e26e4 100644 --- a/test/fixtures/ruby/and-or.parseA.txt +++ b/test/fixtures/ruby/and-or.parseA.txt @@ -2,12 +2,4 @@ (Binary (Identifier) (Other "and") - (Identifier)) - (Binary - (Identifier) - (Other "or") - (Identifier)) - (Binary - (Identifier) - (Other "and") - (Identifier))) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/and-or.parseB.txt b/test/fixtures/ruby/and-or.parseB.txt index 5289c3cce..36ffa7ce6 100644 --- a/test/fixtures/ruby/and-or.parseB.txt +++ b/test/fixtures/ruby/and-or.parseB.txt @@ -2,4 +2,11 @@ (Binary (Identifier) (Other "or") - (Identifier))) + (Identifier)) + (Binary + (Binary + (Identifier) + (Other "or") + (Identifier)) + (Other "and") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/array.A.rb b/test/fixtures/ruby/array.A.rb new file mode 100644 index 000000000..9320d04b2 --- /dev/null +++ b/test/fixtures/ruby/array.A.rb @@ -0,0 +1 @@ +[ 1, 2, 3] \ No newline at end of file diff --git a/test/fixtures/ruby/array.B.rb b/test/fixtures/ruby/array.B.rb new file mode 100644 index 000000000..1f6a51adc --- /dev/null +++ b/test/fixtures/ruby/array.B.rb @@ -0,0 +1 @@ +['a', 'b', 'c'] \ No newline at end of file diff --git a/test/fixtures/ruby/array.diffA-B.txt b/test/fixtures/ruby/array.diffA-B.txt new file mode 100644 index 000000000..37532bc2a --- /dev/null +++ b/test/fixtures/ruby/array.diffA-B.txt @@ -0,0 +1,8 @@ +(Program + (ArrayLiteral + {+(StringLiteral)+} + {+(StringLiteral)+} + {+(StringLiteral)+} + {-(IntegerLiteral)-} + {-(IntegerLiteral)-} + {-(IntegerLiteral)-})) \ No newline at end of file diff --git a/test/fixtures/ruby/array.diffB-A.txt b/test/fixtures/ruby/array.diffB-A.txt new file mode 100644 index 000000000..37021dcfa --- /dev/null +++ b/test/fixtures/ruby/array.diffB-A.txt @@ -0,0 +1,8 @@ +(Program + (ArrayLiteral + {+(IntegerLiteral)+} + {+(IntegerLiteral)+} + {+(IntegerLiteral)+} + {-(StringLiteral)-} + {-(StringLiteral)-} + {-(StringLiteral)-})) \ No newline at end of file diff --git a/test/fixtures/ruby/array.parseA.txt b/test/fixtures/ruby/array.parseA.txt new file mode 100644 index 000000000..ebed7748f --- /dev/null +++ b/test/fixtures/ruby/array.parseA.txt @@ -0,0 +1,5 @@ +(Program + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/array.parseB.txt b/test/fixtures/ruby/array.parseB.txt new file mode 100644 index 000000000..8301c7cbb --- /dev/null +++ b/test/fixtures/ruby/array.parseB.txt @@ -0,0 +1,5 @@ +(Program + (ArrayLiteral + (StringLiteral) + (StringLiteral) + (StringLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/assignment.A.rb b/test/fixtures/ruby/assignment.A.rb new file mode 100644 index 000000000..74213d097 --- /dev/null +++ b/test/fixtures/ruby/assignment.A.rb @@ -0,0 +1 @@ +x = 0 \ No newline at end of file diff --git a/test/fixtures/ruby/assignment.B.rb b/test/fixtures/ruby/assignment.B.rb new file mode 100644 index 000000000..3d2b4b14e --- /dev/null +++ b/test/fixtures/ruby/assignment.B.rb @@ -0,0 +1 @@ +x = 1 \ No newline at end of file diff --git a/test/fixtures/ruby/assignment.diffA-B.txt b/test/fixtures/ruby/assignment.diffA-B.txt new file mode 100644 index 000000000..ef9e88d6f --- /dev/null +++ b/test/fixtures/ruby/assignment.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (Assignment + (Identifier) + { (IntegerLiteral) + ->(IntegerLiteral) })) \ No newline at end of file diff --git a/test/fixtures/ruby/assignment.diffB-A.txt b/test/fixtures/ruby/assignment.diffB-A.txt new file mode 100644 index 000000000..ef9e88d6f --- /dev/null +++ b/test/fixtures/ruby/assignment.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (Assignment + (Identifier) + { (IntegerLiteral) + ->(IntegerLiteral) })) \ No newline at end of file diff --git a/test/fixtures/ruby/assignment.parseA.txt b/test/fixtures/ruby/assignment.parseA.txt new file mode 100644 index 000000000..08b35eaff --- /dev/null +++ b/test/fixtures/ruby/assignment.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Assignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/assignment.parseB.txt b/test/fixtures/ruby/assignment.parseB.txt new file mode 100644 index 000000000..08b35eaff --- /dev/null +++ b/test/fixtures/ruby/assignment.parseB.txt @@ -0,0 +1,4 @@ +(Program + (Assignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/begin-block.A.rb b/test/fixtures/ruby/begin-block.A.rb new file mode 100644 index 000000000..e855e225f --- /dev/null +++ b/test/fixtures/ruby/begin-block.A.rb @@ -0,0 +1,3 @@ +BEGIN { + foo +} \ No newline at end of file diff --git a/test/fixtures/ruby/begin-block.B.rb b/test/fixtures/ruby/begin-block.B.rb new file mode 100644 index 000000000..531f90577 --- /dev/null +++ b/test/fixtures/ruby/begin-block.B.rb @@ -0,0 +1,4 @@ +foo +BEGIN { + bar +} \ No newline at end of file diff --git a/test/fixtures/ruby/begin-block.diffA-B.txt b/test/fixtures/ruby/begin-block.diffA-B.txt new file mode 100644 index 000000000..659b401e0 --- /dev/null +++ b/test/fixtures/ruby/begin-block.diffA-B.txt @@ -0,0 +1,5 @@ +(Program +{+(Identifier)+} + (BeginBlock + { (Identifier) + ->(Identifier) })) \ No newline at end of file diff --git a/test/fixtures/ruby/begin-block.diffB-A.txt b/test/fixtures/ruby/begin-block.diffB-A.txt new file mode 100644 index 000000000..800641152 --- /dev/null +++ b/test/fixtures/ruby/begin-block.diffB-A.txt @@ -0,0 +1,6 @@ +(Program +{+(BeginBlock + (Identifier))+} +{-(Identifier)-} +{-(BeginBlock + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/begin-block.parseA.txt b/test/fixtures/ruby/begin-block.parseA.txt new file mode 100644 index 000000000..315c11261 --- /dev/null +++ b/test/fixtures/ruby/begin-block.parseA.txt @@ -0,0 +1,3 @@ +(Program + (BeginBlock + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/begin-block.parseB.txt b/test/fixtures/ruby/begin-block.parseB.txt new file mode 100644 index 000000000..a92cdbbcb --- /dev/null +++ b/test/fixtures/ruby/begin-block.parseB.txt @@ -0,0 +1,4 @@ +(Program + (Identifier) + (BeginBlock + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/begin.A.rb b/test/fixtures/ruby/begin.A.rb new file mode 100644 index 000000000..0097d4c88 --- /dev/null +++ b/test/fixtures/ruby/begin.A.rb @@ -0,0 +1,4 @@ +def foo +begin +end +end \ No newline at end of file diff --git a/test/fixtures/ruby/begin.B.rb b/test/fixtures/ruby/begin.B.rb new file mode 100644 index 000000000..9be601b29 --- /dev/null +++ b/test/fixtures/ruby/begin.B.rb @@ -0,0 +1,5 @@ +def foo +begin + puts 'hi' +end +end \ No newline at end of file diff --git a/test/fixtures/ruby/begin.diffA-B.txt b/test/fixtures/ruby/begin.diffA-B.txt new file mode 100644 index 000000000..ba9027dea --- /dev/null +++ b/test/fixtures/ruby/begin.diffA-B.txt @@ -0,0 +1,7 @@ +(Program + (Method + (Identifier) + (Begin + {+(MethodCall + (Identifier) + (StringLiteral))+}))) \ No newline at end of file diff --git a/test/fixtures/ruby/begin.diffB-A.txt b/test/fixtures/ruby/begin.diffB-A.txt new file mode 100644 index 000000000..dad073e4c --- /dev/null +++ b/test/fixtures/ruby/begin.diffB-A.txt @@ -0,0 +1,7 @@ +(Program + (Method + (Identifier) + (Begin + {-(MethodCall + (Identifier) + (StringLiteral))-}))) \ No newline at end of file diff --git a/test/fixtures/ruby/begin.parseA.txt b/test/fixtures/ruby/begin.parseA.txt new file mode 100644 index 000000000..74b05e86c --- /dev/null +++ b/test/fixtures/ruby/begin.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Method + (Identifier) + (Begin))) \ No newline at end of file diff --git a/test/fixtures/ruby/begin.parseB.txt b/test/fixtures/ruby/begin.parseB.txt new file mode 100644 index 000000000..785020ab6 --- /dev/null +++ b/test/fixtures/ruby/begin.parseB.txt @@ -0,0 +1,7 @@ +(Program + (Method + (Identifier) + (Begin + (MethodCall + (Identifier) + (StringLiteral))))) \ No newline at end of file diff --git a/test/fixtures/ruby/bitwise-operator.A.rb b/test/fixtures/ruby/bitwise-operator.A.rb new file mode 100644 index 000000000..bf4724348 --- /dev/null +++ b/test/fixtures/ruby/bitwise-operator.A.rb @@ -0,0 +1,3 @@ +a | b +a >> b +a ^ b \ No newline at end of file diff --git a/test/fixtures/ruby/bitwise-operator.B.rb b/test/fixtures/ruby/bitwise-operator.B.rb new file mode 100644 index 000000000..1e37f0f4b --- /dev/null +++ b/test/fixtures/ruby/bitwise-operator.B.rb @@ -0,0 +1,2 @@ +a & b +a << b \ No newline at end of file diff --git a/test/fixtures/ruby/bitwise-operator.diffA-B.txt b/test/fixtures/ruby/bitwise-operator.diffA-B.txt new file mode 100644 index 000000000..8d8ad07bf --- /dev/null +++ b/test/fixtures/ruby/bitwise-operator.diffA-B.txt @@ -0,0 +1,21 @@ +(Program +{ (Binary + (Identifier) + (Other "|") + (Identifier)) +->(Binary + (Identifier) + (Other "&") + (Identifier)) } +{ (Binary + (Identifier) + (Other ">>") + (Identifier)) +->(Binary + (Identifier) + (Other "<<") + (Identifier)) } +{-(Binary + (Identifier) + (Other "^") + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/bitwise-operator.diffB-A.txt b/test/fixtures/ruby/bitwise-operator.diffB-A.txt new file mode 100644 index 000000000..64d8c43b9 --- /dev/null +++ b/test/fixtures/ruby/bitwise-operator.diffB-A.txt @@ -0,0 +1,21 @@ +(Program +{ (Binary + (Identifier) + (Other "&") + (Identifier)) +->(Binary + (Identifier) + (Other "|") + (Identifier)) } +{ (Binary + (Identifier) + (Other "<<") + (Identifier)) +->(Binary + (Identifier) + (Other ">>") + (Identifier)) } +{+(Binary + (Identifier) + (Other "^") + (Identifier))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/bitwise-operator.parseA.txt b/test/fixtures/ruby/bitwise-operator.parseA.txt new file mode 100644 index 000000000..57e58fb3c --- /dev/null +++ b/test/fixtures/ruby/bitwise-operator.parseA.txt @@ -0,0 +1,13 @@ +(Program + (Binary + (Identifier) + (Other "|") + (Identifier)) + (Binary + (Identifier) + (Other ">>") + (Identifier)) + (Binary + (Identifier) + (Other "^") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/bitwise-operator.parseB.txt b/test/fixtures/ruby/bitwise-operator.parseB.txt new file mode 100644 index 000000000..c76ccfa59 --- /dev/null +++ b/test/fixtures/ruby/bitwise-operator.parseB.txt @@ -0,0 +1,9 @@ +(Program + (Binary + (Identifier) + (Other "&") + (Identifier)) + (Binary + (Identifier) + (Other "<<") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/boolean-operator.A.rb b/test/fixtures/ruby/boolean-operator.A.rb new file mode 100644 index 000000000..c9606e645 --- /dev/null +++ b/test/fixtures/ruby/boolean-operator.A.rb @@ -0,0 +1 @@ +a || b \ No newline at end of file diff --git a/test/fixtures/ruby/boolean-operator.B.rb b/test/fixtures/ruby/boolean-operator.B.rb new file mode 100644 index 000000000..4e0afff1f --- /dev/null +++ b/test/fixtures/ruby/boolean-operator.B.rb @@ -0,0 +1 @@ +a && b \ No newline at end of file diff --git a/test/fixtures/ruby/boolean-operator.diffA-B.txt b/test/fixtures/ruby/boolean-operator.diffA-B.txt new file mode 100644 index 000000000..ec95aaad0 --- /dev/null +++ b/test/fixtures/ruby/boolean-operator.diffA-B.txt @@ -0,0 +1,9 @@ +(Program +{ (Binary + (Identifier) + (Other "||") + (Identifier)) +->(Binary + (Identifier) + (Other "&&") + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/boolean-operator.diffB-A.txt b/test/fixtures/ruby/boolean-operator.diffB-A.txt new file mode 100644 index 000000000..1b930ef8f --- /dev/null +++ b/test/fixtures/ruby/boolean-operator.diffB-A.txt @@ -0,0 +1,9 @@ +(Program +{ (Binary + (Identifier) + (Other "&&") + (Identifier)) +->(Binary + (Identifier) + (Other "||") + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/boolean-operator.parseA.txt b/test/fixtures/ruby/boolean-operator.parseA.txt new file mode 100644 index 000000000..474a3b735 --- /dev/null +++ b/test/fixtures/ruby/boolean-operator.parseA.txt @@ -0,0 +1,5 @@ +(Program + (Binary + (Identifier) + (Other "||") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/boolean-operator.parseB.txt b/test/fixtures/ruby/boolean-operator.parseB.txt new file mode 100644 index 000000000..90c76f6b7 --- /dev/null +++ b/test/fixtures/ruby/boolean-operator.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Binary + (Identifier) + (Other "&&") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/class.A.rb b/test/fixtures/ruby/class.A.rb new file mode 100644 index 000000000..1abed8582 --- /dev/null +++ b/test/fixtures/ruby/class.A.rb @@ -0,0 +1,3 @@ +class Foo < Super + def test; end +end \ No newline at end of file diff --git a/test/fixtures/ruby/class.B.rb b/test/fixtures/ruby/class.B.rb new file mode 100644 index 000000000..596d2d7ea --- /dev/null +++ b/test/fixtures/ruby/class.B.rb @@ -0,0 +1,3 @@ +class Foo + def test; end +end \ No newline at end of file diff --git a/test/fixtures/ruby/class.diffA-B.txt b/test/fixtures/ruby/class.diffA-B.txt new file mode 100644 index 000000000..d722af2c6 --- /dev/null +++ b/test/fixtures/ruby/class.diffA-B.txt @@ -0,0 +1,7 @@ +(Program + (Class + (Constant) + {-(Superclass + (Constant))-} + (Method + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/class.diffB-A.txt b/test/fixtures/ruby/class.diffB-A.txt new file mode 100644 index 000000000..93ceed202 --- /dev/null +++ b/test/fixtures/ruby/class.diffB-A.txt @@ -0,0 +1,7 @@ +(Program + (Class + (Constant) + {+(Superclass + (Constant))+} + (Method + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/class.parseA.txt b/test/fixtures/ruby/class.parseA.txt new file mode 100644 index 000000000..8fe59c908 --- /dev/null +++ b/test/fixtures/ruby/class.parseA.txt @@ -0,0 +1,7 @@ +(Program + (Class + (Constant) + (Superclass + (Constant)) + (Method + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/class.parseB.txt b/test/fixtures/ruby/class.parseB.txt new file mode 100644 index 000000000..cf524b01a --- /dev/null +++ b/test/fixtures/ruby/class.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Class + (Constant) + (Method + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/comment.A.rb b/test/fixtures/ruby/comment.A.rb new file mode 100644 index 000000000..5e64e838a --- /dev/null +++ b/test/fixtures/ruby/comment.A.rb @@ -0,0 +1 @@ +# This is a comment \ No newline at end of file diff --git a/test/fixtures/ruby/comment.B.rb b/test/fixtures/ruby/comment.B.rb new file mode 100644 index 000000000..375416f92 --- /dev/null +++ b/test/fixtures/ruby/comment.B.rb @@ -0,0 +1,4 @@ +=begin +This is a multiline +comment +=end \ No newline at end of file diff --git a/test/fixtures/ruby/comment.diffA-B.txt b/test/fixtures/ruby/comment.diffA-B.txt new file mode 100644 index 000000000..44c87119b --- /dev/null +++ b/test/fixtures/ruby/comment.diffA-B.txt @@ -0,0 +1,14 @@ +(Program +{+(ParseError + (Other "right_assignment_list" + (Begin + (MethodCall + (Constant) + (MethodCall + (Identifier) + (MethodCall + (Identifier) + (Identifier)))) + (Identifier) + (ParseError))))+} +{-(Comment)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/comment.diffB-A.txt b/test/fixtures/ruby/comment.diffB-A.txt new file mode 100644 index 000000000..96a63bcd9 --- /dev/null +++ b/test/fixtures/ruby/comment.diffB-A.txt @@ -0,0 +1,14 @@ +(Program +{+(Comment)+} +{-(ParseError + (Other "right_assignment_list" + (Begin + (MethodCall + (Constant) + (MethodCall + (Identifier) + (MethodCall + (Identifier) + (Identifier)))) + (Identifier) + (ParseError))))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/comment.parseA.txt b/test/fixtures/ruby/comment.parseA.txt new file mode 100644 index 000000000..35f35a8d4 --- /dev/null +++ b/test/fixtures/ruby/comment.parseA.txt @@ -0,0 +1,2 @@ +(Program + (Comment)) \ No newline at end of file diff --git a/test/fixtures/ruby/comment.parseB.txt b/test/fixtures/ruby/comment.parseB.txt new file mode 100644 index 000000000..42c907b6c --- /dev/null +++ b/test/fixtures/ruby/comment.parseB.txt @@ -0,0 +1,13 @@ +(Program + (ParseError + (Other "right_assignment_list" + (Begin + (MethodCall + (Constant) + (MethodCall + (Identifier) + (MethodCall + (Identifier) + (Identifier)))) + (Identifier) + (ParseError))))) \ No newline at end of file diff --git a/test/fixtures/ruby/comparision-operator.A.rb b/test/fixtures/ruby/comparision-operator.A.rb new file mode 100644 index 000000000..954baa71d --- /dev/null +++ b/test/fixtures/ruby/comparision-operator.A.rb @@ -0,0 +1,2 @@ +x < y +a > b \ No newline at end of file diff --git a/test/fixtures/ruby/comparision-operator.B.rb b/test/fixtures/ruby/comparision-operator.B.rb new file mode 100644 index 000000000..ea4160195 --- /dev/null +++ b/test/fixtures/ruby/comparision-operator.B.rb @@ -0,0 +1,2 @@ +x <= y +a >= b \ No newline at end of file diff --git a/test/fixtures/ruby/comparision-operator.diffA-B.txt b/test/fixtures/ruby/comparision-operator.diffA-B.txt new file mode 100644 index 000000000..efffc58a1 --- /dev/null +++ b/test/fixtures/ruby/comparision-operator.diffA-B.txt @@ -0,0 +1,17 @@ +(Program +{ (Binary + (Identifier) + (Other "<") + (Identifier)) +->(Binary + (Identifier) + (Other "<=") + (Identifier)) } +{ (Binary + (Identifier) + (Other ">") + (Identifier)) +->(Binary + (Identifier) + (Other ">=") + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/comparision-operator.diffB-A.txt b/test/fixtures/ruby/comparision-operator.diffB-A.txt new file mode 100644 index 000000000..924a34f15 --- /dev/null +++ b/test/fixtures/ruby/comparision-operator.diffB-A.txt @@ -0,0 +1,17 @@ +(Program +{ (Binary + (Identifier) + (Other "<=") + (Identifier)) +->(Binary + (Identifier) + (Other "<") + (Identifier)) } +{ (Binary + (Identifier) + (Other ">=") + (Identifier)) +->(Binary + (Identifier) + (Other ">") + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/comparision-operator.parseA.txt b/test/fixtures/ruby/comparision-operator.parseA.txt new file mode 100644 index 000000000..6e240538d --- /dev/null +++ b/test/fixtures/ruby/comparision-operator.parseA.txt @@ -0,0 +1,9 @@ +(Program + (Binary + (Identifier) + (Other "<") + (Identifier)) + (Binary + (Identifier) + (Other ">") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/comparision-operator.parseB.txt b/test/fixtures/ruby/comparision-operator.parseB.txt new file mode 100644 index 000000000..fc677bcc4 --- /dev/null +++ b/test/fixtures/ruby/comparision-operator.parseB.txt @@ -0,0 +1,9 @@ +(Program + (Binary + (Identifier) + (Other "<=") + (Identifier)) + (Binary + (Identifier) + (Other ">=") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/conditional-assignment.A.rb b/test/fixtures/ruby/conditional-assignment.A.rb new file mode 100644 index 000000000..8b765116b --- /dev/null +++ b/test/fixtures/ruby/conditional-assignment.A.rb @@ -0,0 +1 @@ +x ||= 5 \ No newline at end of file diff --git a/test/fixtures/ruby/conditional-assignment.B.rb b/test/fixtures/ruby/conditional-assignment.B.rb new file mode 100644 index 000000000..e6f0d38c5 --- /dev/null +++ b/test/fixtures/ruby/conditional-assignment.B.rb @@ -0,0 +1 @@ +x &&= 7 \ No newline at end of file diff --git a/test/fixtures/ruby/conditional-assignment.diffA-B.txt b/test/fixtures/ruby/conditional-assignment.diffA-B.txt new file mode 100644 index 000000000..fd82896c5 --- /dev/null +++ b/test/fixtures/ruby/conditional-assignment.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (OperatorAssignment + (Identifier) + { (IntegerLiteral) + ->(IntegerLiteral) })) \ No newline at end of file diff --git a/test/fixtures/ruby/conditional-assignment.diffB-A.txt b/test/fixtures/ruby/conditional-assignment.diffB-A.txt new file mode 100644 index 000000000..fd82896c5 --- /dev/null +++ b/test/fixtures/ruby/conditional-assignment.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (OperatorAssignment + (Identifier) + { (IntegerLiteral) + ->(IntegerLiteral) })) \ No newline at end of file diff --git a/test/fixtures/ruby/conditional-assignment.parseA.txt b/test/fixtures/ruby/conditional-assignment.parseA.txt new file mode 100644 index 000000000..4a3a2ddad --- /dev/null +++ b/test/fixtures/ruby/conditional-assignment.parseA.txt @@ -0,0 +1,4 @@ +(Program + (OperatorAssignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/conditional-assignment.parseB.txt b/test/fixtures/ruby/conditional-assignment.parseB.txt new file mode 100644 index 000000000..4a3a2ddad --- /dev/null +++ b/test/fixtures/ruby/conditional-assignment.parseB.txt @@ -0,0 +1,4 @@ +(Program + (OperatorAssignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/delimiter.A.rb b/test/fixtures/ruby/delimiter.A.rb new file mode 100644 index 000000000..76e0b7bca --- /dev/null +++ b/test/fixtures/ruby/delimiter.A.rb @@ -0,0 +1,6 @@ +%q#a# +%qc> +%#a# +%Q#a# +%c> +%Qc> \ No newline at end of file diff --git a/test/fixtures/ruby/delimiter.B.rb b/test/fixtures/ruby/delimiter.B.rb new file mode 100644 index 000000000..b9732d4d7 --- /dev/null +++ b/test/fixtures/ruby/delimiter.B.rb @@ -0,0 +1,6 @@ +%q/b/ +%q{d{e}f} +%/b/ +%Q/b/ +%{d{e}f} +%Q{d{e}f} \ No newline at end of file diff --git a/test/fixtures/ruby/delimiter.diffA-B.txt b/test/fixtures/ruby/delimiter.diffA-B.txt new file mode 100644 index 000000000..4292d775b --- /dev/null +++ b/test/fixtures/ruby/delimiter.diffA-B.txt @@ -0,0 +1,13 @@ +(Program +{+(StringLiteral)+} +{+(StringLiteral)+} +{ (StringLiteral) +->(StringLiteral) } +{+(StringLiteral)+} +{+(StringLiteral)+} +{+(StringLiteral)+} +{-(StringLiteral)-} +{-(StringLiteral)-} +{-(StringLiteral)-} +{-(StringLiteral)-} +{-(StringLiteral)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/delimiter.diffB-A.txt b/test/fixtures/ruby/delimiter.diffB-A.txt new file mode 100644 index 000000000..002957c76 --- /dev/null +++ b/test/fixtures/ruby/delimiter.diffB-A.txt @@ -0,0 +1,13 @@ +(Program +{+(StringLiteral)+} +{ (StringLiteral) +->(StringLiteral) } +{+(StringLiteral)+} +{ (StringLiteral) +->(StringLiteral) } +{+(StringLiteral)+} +{+(StringLiteral)+} +{-(StringLiteral)-} +{-(StringLiteral)-} +{-(StringLiteral)-} +{-(StringLiteral)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/delimiter.parseA.txt b/test/fixtures/ruby/delimiter.parseA.txt new file mode 100644 index 000000000..01072e506 --- /dev/null +++ b/test/fixtures/ruby/delimiter.parseA.txt @@ -0,0 +1,7 @@ +(Program + (StringLiteral) + (StringLiteral) + (StringLiteral) + (StringLiteral) + (StringLiteral) + (StringLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/delimiter.parseB.txt b/test/fixtures/ruby/delimiter.parseB.txt new file mode 100644 index 000000000..01072e506 --- /dev/null +++ b/test/fixtures/ruby/delimiter.parseB.txt @@ -0,0 +1,7 @@ +(Program + (StringLiteral) + (StringLiteral) + (StringLiteral) + (StringLiteral) + (StringLiteral) + (StringLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/element-reference.A.rb b/test/fixtures/ruby/element-reference.A.rb new file mode 100644 index 000000000..3d586dfd1 --- /dev/null +++ b/test/fixtures/ruby/element-reference.A.rb @@ -0,0 +1,3 @@ +foo[bar] +foo[:bar] +foo[bar] = 1 \ No newline at end of file diff --git a/test/fixtures/ruby/element-reference.B.rb b/test/fixtures/ruby/element-reference.B.rb new file mode 100644 index 000000000..4d8fc8864 --- /dev/null +++ b/test/fixtures/ruby/element-reference.B.rb @@ -0,0 +1,2 @@ +x["b"] +x[:"c"] \ No newline at end of file diff --git a/test/fixtures/ruby/element-reference.diffA-B.txt b/test/fixtures/ruby/element-reference.diffA-B.txt new file mode 100644 index 000000000..160159629 --- /dev/null +++ b/test/fixtures/ruby/element-reference.diffA-B.txt @@ -0,0 +1,17 @@ +(Program +{ (SubscriptAccess + (Identifier) + (Identifier)) +->(SubscriptAccess + (Identifier) + (StringLiteral)) } + (SubscriptAccess + { (Identifier) + ->(Identifier) } + { (SymbolLiteral) + ->(SymbolLiteral) }) +{-(Assignment + (SubscriptAccess + (Identifier) + (Identifier)) + (IntegerLiteral))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/element-reference.diffB-A.txt b/test/fixtures/ruby/element-reference.diffB-A.txt new file mode 100644 index 000000000..eaed02709 --- /dev/null +++ b/test/fixtures/ruby/element-reference.diffB-A.txt @@ -0,0 +1,17 @@ +(Program +{ (SubscriptAccess + (Identifier) + (StringLiteral)) +->(SubscriptAccess + (Identifier) + (Identifier)) } + (SubscriptAccess + { (Identifier) + ->(Identifier) } + { (SymbolLiteral) + ->(SymbolLiteral) }) +{+(Assignment + (SubscriptAccess + (Identifier) + (Identifier)) + (IntegerLiteral))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/element-reference.parseA.txt b/test/fixtures/ruby/element-reference.parseA.txt new file mode 100644 index 000000000..d23c774b5 --- /dev/null +++ b/test/fixtures/ruby/element-reference.parseA.txt @@ -0,0 +1,12 @@ +(Program + (SubscriptAccess + (Identifier) + (Identifier)) + (SubscriptAccess + (Identifier) + (SymbolLiteral)) + (Assignment + (SubscriptAccess + (Identifier) + (Identifier)) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/element-reference.parseB.txt b/test/fixtures/ruby/element-reference.parseB.txt new file mode 100644 index 000000000..c57812639 --- /dev/null +++ b/test/fixtures/ruby/element-reference.parseB.txt @@ -0,0 +1,7 @@ +(Program + (SubscriptAccess + (Identifier) + (StringLiteral)) + (SubscriptAccess + (Identifier) + (SymbolLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/else.A.rb b/test/fixtures/ruby/else.A.rb new file mode 100644 index 000000000..91c9ce414 --- /dev/null +++ b/test/fixtures/ruby/else.A.rb @@ -0,0 +1,4 @@ +begin + foo() +else +end \ No newline at end of file diff --git a/test/fixtures/ruby/else.B.rb b/test/fixtures/ruby/else.B.rb new file mode 100644 index 000000000..49ca1b030 --- /dev/null +++ b/test/fixtures/ruby/else.B.rb @@ -0,0 +1,5 @@ +begin + foo() +else + bar() +end \ No newline at end of file diff --git a/test/fixtures/ruby/else.diffA-B.txt b/test/fixtures/ruby/else.diffA-B.txt new file mode 100644 index 000000000..662fbb9d5 --- /dev/null +++ b/test/fixtures/ruby/else.diffA-B.txt @@ -0,0 +1,8 @@ +(Program + (Begin + (MethodCall + (Identifier)) + { (Else) + ->(Else + (MethodCall + (Identifier))) })) \ No newline at end of file diff --git a/test/fixtures/ruby/else.diffB-A.txt b/test/fixtures/ruby/else.diffB-A.txt new file mode 100644 index 000000000..ad238c352 --- /dev/null +++ b/test/fixtures/ruby/else.diffB-A.txt @@ -0,0 +1,8 @@ +(Program + (Begin + (MethodCall + (Identifier)) + { (Else + (MethodCall + (Identifier))) + ->(Else) })) \ No newline at end of file diff --git a/test/fixtures/ruby/else.parseA.txt b/test/fixtures/ruby/else.parseA.txt new file mode 100644 index 000000000..855e5e2a7 --- /dev/null +++ b/test/fixtures/ruby/else.parseA.txt @@ -0,0 +1,5 @@ +(Program + (Begin + (MethodCall + (Identifier)) + (Else))) \ No newline at end of file diff --git a/test/fixtures/ruby/else.parseB.txt b/test/fixtures/ruby/else.parseB.txt new file mode 100644 index 000000000..e449dffaf --- /dev/null +++ b/test/fixtures/ruby/else.parseB.txt @@ -0,0 +1,7 @@ +(Program + (Begin + (MethodCall + (Identifier)) + (Else + (MethodCall + (Identifier))))) \ No newline at end of file diff --git a/test/fixtures/ruby/elsif.A.rb b/test/fixtures/ruby/elsif.A.rb new file mode 100644 index 000000000..2877e7133 --- /dev/null +++ b/test/fixtures/ruby/elsif.A.rb @@ -0,0 +1,4 @@ +if bar + foo() +elsif baz +end \ No newline at end of file diff --git a/test/fixtures/ruby/elsif.B.rb b/test/fixtures/ruby/elsif.B.rb new file mode 100644 index 000000000..f0bb17648 --- /dev/null +++ b/test/fixtures/ruby/elsif.B.rb @@ -0,0 +1,5 @@ +if bar + foo() +elsif baz + qoz() +end \ No newline at end of file diff --git a/test/fixtures/ruby/elsif.diffA-B.txt b/test/fixtures/ruby/elsif.diffA-B.txt new file mode 100644 index 000000000..bc9b414b7 --- /dev/null +++ b/test/fixtures/ruby/elsif.diffA-B.txt @@ -0,0 +1,9 @@ +(Program + (If + (Identifier) + (MethodCall + (Identifier)) + (Elsif + (Identifier) + {+(MethodCall + (Identifier))+}))) \ No newline at end of file diff --git a/test/fixtures/ruby/elsif.diffB-A.txt b/test/fixtures/ruby/elsif.diffB-A.txt new file mode 100644 index 000000000..f451da0fc --- /dev/null +++ b/test/fixtures/ruby/elsif.diffB-A.txt @@ -0,0 +1,9 @@ +(Program + (If + (Identifier) + (MethodCall + (Identifier)) + (Elsif + (Identifier) + {-(MethodCall + (Identifier))-}))) \ No newline at end of file diff --git a/test/fixtures/ruby/elsif.parseA.txt b/test/fixtures/ruby/elsif.parseA.txt new file mode 100644 index 000000000..846d4209a --- /dev/null +++ b/test/fixtures/ruby/elsif.parseA.txt @@ -0,0 +1,7 @@ +(Program + (If + (Identifier) + (MethodCall + (Identifier)) + (Elsif + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/elsif.parseB.txt b/test/fixtures/ruby/elsif.parseB.txt new file mode 100644 index 000000000..ae88099c9 --- /dev/null +++ b/test/fixtures/ruby/elsif.parseB.txt @@ -0,0 +1,9 @@ +(Program + (If + (Identifier) + (MethodCall + (Identifier)) + (Elsif + (Identifier) + (MethodCall + (Identifier))))) \ No newline at end of file diff --git a/test/fixtures/ruby/end-block.A.rb b/test/fixtures/ruby/end-block.A.rb new file mode 100644 index 000000000..cc4f473c0 --- /dev/null +++ b/test/fixtures/ruby/end-block.A.rb @@ -0,0 +1,3 @@ +END { + foo +} \ No newline at end of file diff --git a/test/fixtures/ruby/end-block.B.rb b/test/fixtures/ruby/end-block.B.rb new file mode 100644 index 000000000..1c7a3516d --- /dev/null +++ b/test/fixtures/ruby/end-block.B.rb @@ -0,0 +1,4 @@ +foo +END { + bar +} \ No newline at end of file diff --git a/test/fixtures/ruby/end-block.diffA-B.txt b/test/fixtures/ruby/end-block.diffA-B.txt new file mode 100644 index 000000000..8791d9ef9 --- /dev/null +++ b/test/fixtures/ruby/end-block.diffA-B.txt @@ -0,0 +1,5 @@ +(Program +{+(Identifier)+} + (EndBlock + { (Identifier) + ->(Identifier) })) \ No newline at end of file diff --git a/test/fixtures/ruby/end-block.diffB-A.txt b/test/fixtures/ruby/end-block.diffB-A.txt new file mode 100644 index 000000000..02e98bdc0 --- /dev/null +++ b/test/fixtures/ruby/end-block.diffB-A.txt @@ -0,0 +1,6 @@ +(Program +{+(EndBlock + (Identifier))+} +{-(Identifier)-} +{-(EndBlock + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/end-block.parseA.txt b/test/fixtures/ruby/end-block.parseA.txt new file mode 100644 index 000000000..d4dc73b3b --- /dev/null +++ b/test/fixtures/ruby/end-block.parseA.txt @@ -0,0 +1,3 @@ +(Program + (EndBlock + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/end-block.parseB.txt b/test/fixtures/ruby/end-block.parseB.txt new file mode 100644 index 000000000..4beb445b7 --- /dev/null +++ b/test/fixtures/ruby/end-block.parseB.txt @@ -0,0 +1,4 @@ +(Program + (Identifier) + (EndBlock + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/ensure.A.rb b/test/fixtures/ruby/ensure.A.rb new file mode 100644 index 000000000..f81f4e204 --- /dev/null +++ b/test/fixtures/ruby/ensure.A.rb @@ -0,0 +1,4 @@ +begin + foo +ensure +end \ No newline at end of file diff --git a/test/fixtures/ruby/ensure.B.rb b/test/fixtures/ruby/ensure.B.rb new file mode 100644 index 000000000..eee4e6220 --- /dev/null +++ b/test/fixtures/ruby/ensure.B.rb @@ -0,0 +1,5 @@ +begin + foo +ensure + bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/ensure.diffA-B.txt b/test/fixtures/ruby/ensure.diffA-B.txt new file mode 100644 index 000000000..1a047608a --- /dev/null +++ b/test/fixtures/ruby/ensure.diffA-B.txt @@ -0,0 +1,6 @@ +(Program + (Begin + (Identifier) + { (Ensure) + ->(Ensure + (Identifier)) })) \ No newline at end of file diff --git a/test/fixtures/ruby/ensure.diffB-A.txt b/test/fixtures/ruby/ensure.diffB-A.txt new file mode 100644 index 000000000..c7761aab6 --- /dev/null +++ b/test/fixtures/ruby/ensure.diffB-A.txt @@ -0,0 +1,6 @@ +(Program + (Begin + (Identifier) + { (Ensure + (Identifier)) + ->(Ensure) })) \ No newline at end of file diff --git a/test/fixtures/ruby/ensure.parseA.txt b/test/fixtures/ruby/ensure.parseA.txt new file mode 100644 index 000000000..01a1eae23 --- /dev/null +++ b/test/fixtures/ruby/ensure.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Begin + (Identifier) + (Ensure))) \ No newline at end of file diff --git a/test/fixtures/ruby/ensure.parseB.txt b/test/fixtures/ruby/ensure.parseB.txt new file mode 100644 index 000000000..494d46e6c --- /dev/null +++ b/test/fixtures/ruby/ensure.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Begin + (Identifier) + (Ensure + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/for.A.rb b/test/fixtures/ruby/for.A.rb new file mode 100644 index 000000000..ca91361ce --- /dev/null +++ b/test/fixtures/ruby/for.A.rb @@ -0,0 +1,3 @@ +for x in y + f +end \ No newline at end of file diff --git a/test/fixtures/ruby/for.B.rb b/test/fixtures/ruby/for.B.rb new file mode 100644 index 000000000..2cdb925cb --- /dev/null +++ b/test/fixtures/ruby/for.B.rb @@ -0,0 +1,3 @@ +for i in [1,2,3] do + print i +end \ No newline at end of file diff --git a/test/fixtures/ruby/for.diffA-B.txt b/test/fixtures/ruby/for.diffA-B.txt new file mode 100644 index 000000000..0f21b34a4 --- /dev/null +++ b/test/fixtures/ruby/for.diffA-B.txt @@ -0,0 +1,14 @@ +(Program +{ (For + (Identifier) + (Identifier) + (Identifier)) +->(For + (Identifier) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)) + (MethodCall + (Identifier) + (Identifier))) }) \ No newline at end of file diff --git a/test/fixtures/ruby/for.diffB-A.txt b/test/fixtures/ruby/for.diffB-A.txt new file mode 100644 index 000000000..e9e2850b9 --- /dev/null +++ b/test/fixtures/ruby/for.diffB-A.txt @@ -0,0 +1,14 @@ +(Program +{ (For + (Identifier) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)) + (MethodCall + (Identifier) + (Identifier))) +->(For + (Identifier) + (Identifier) + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/for.parseA.txt b/test/fixtures/ruby/for.parseA.txt new file mode 100644 index 000000000..9413327d0 --- /dev/null +++ b/test/fixtures/ruby/for.parseA.txt @@ -0,0 +1,5 @@ +(Program + (For + (Identifier) + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/for.parseB.txt b/test/fixtures/ruby/for.parseB.txt new file mode 100644 index 000000000..cd00009d8 --- /dev/null +++ b/test/fixtures/ruby/for.parseB.txt @@ -0,0 +1,10 @@ +(Program + (For + (Identifier) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)) + (MethodCall + (Identifier) + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/hash.A.rb b/test/fixtures/ruby/hash.A.rb new file mode 100644 index 000000000..6f4a006f4 --- /dev/null +++ b/test/fixtures/ruby/hash.A.rb @@ -0,0 +1 @@ +{ :key1 => "value", :key2 => 1, "key3" => false, :"symbol_key" => 10 } \ No newline at end of file diff --git a/test/fixtures/ruby/hash.B.rb b/test/fixtures/ruby/hash.B.rb new file mode 100644 index 000000000..7762e5c3c --- /dev/null +++ b/test/fixtures/ruby/hash.B.rb @@ -0,0 +1 @@ +{ key1: "changed value", key2: 2, key3: true } \ No newline at end of file diff --git a/test/fixtures/ruby/hash.diffA-B.txt b/test/fixtures/ruby/hash.diffA-B.txt new file mode 100644 index 000000000..6ea8032a6 --- /dev/null +++ b/test/fixtures/ruby/hash.diffA-B.txt @@ -0,0 +1,23 @@ +(Program + (Object + { (Pair + (SymbolLiteral) + (StringLiteral)) + ->(Pair + (Identifier) + (StringLiteral)) } + {+(Pair + (Identifier) + (IntegerLiteral))+} + {+(Pair + (Identifier) + (Boolean))+} + {-(Pair + (SymbolLiteral) + (IntegerLiteral))-} + {-(Pair + (StringLiteral) + (Boolean))-} + {-(Pair + (SymbolLiteral) + (IntegerLiteral))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/hash.diffB-A.txt b/test/fixtures/ruby/hash.diffB-A.txt new file mode 100644 index 000000000..c08045e9a --- /dev/null +++ b/test/fixtures/ruby/hash.diffB-A.txt @@ -0,0 +1,23 @@ +(Program + (Object + { (Pair + (Identifier) + (StringLiteral)) + ->(Pair + (SymbolLiteral) + (StringLiteral)) } + {+(Pair + (SymbolLiteral) + (IntegerLiteral))+} + { (Pair + (Identifier) + (IntegerLiteral)) + ->(Pair + (StringLiteral) + (Boolean)) } + {+(Pair + (SymbolLiteral) + (IntegerLiteral))+} + {-(Pair + (Identifier) + (Boolean))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/hash.parseA.txt b/test/fixtures/ruby/hash.parseA.txt new file mode 100644 index 000000000..7df95f7bf --- /dev/null +++ b/test/fixtures/ruby/hash.parseA.txt @@ -0,0 +1,14 @@ +(Program + (Object + (Pair + (SymbolLiteral) + (StringLiteral)) + (Pair + (SymbolLiteral) + (IntegerLiteral)) + (Pair + (StringLiteral) + (Boolean)) + (Pair + (SymbolLiteral) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/hash.parseB.txt b/test/fixtures/ruby/hash.parseB.txt new file mode 100644 index 000000000..c6f037271 --- /dev/null +++ b/test/fixtures/ruby/hash.parseB.txt @@ -0,0 +1,11 @@ +(Program + (Object + (Pair + (Identifier) + (StringLiteral)) + (Pair + (Identifier) + (IntegerLiteral)) + (Pair + (Identifier) + (Boolean)))) \ No newline at end of file diff --git a/test/fixtures/ruby/if-unless-modifiers.A.rb b/test/fixtures/ruby/if-unless-modifiers.A.rb new file mode 100644 index 000000000..a843f8434 --- /dev/null +++ b/test/fixtures/ruby/if-unless-modifiers.A.rb @@ -0,0 +1 @@ +print unless foo \ No newline at end of file diff --git a/test/fixtures/ruby/if-unless-modifiers.B.rb b/test/fixtures/ruby/if-unless-modifiers.B.rb new file mode 100644 index 000000000..74d44b8bf --- /dev/null +++ b/test/fixtures/ruby/if-unless-modifiers.B.rb @@ -0,0 +1 @@ +print if foo \ No newline at end of file diff --git a/test/fixtures/ruby/if-unless-modifiers.diffA-B.txt b/test/fixtures/ruby/if-unless-modifiers.diffA-B.txt new file mode 100644 index 000000000..4eaae7713 --- /dev/null +++ b/test/fixtures/ruby/if-unless-modifiers.diffA-B.txt @@ -0,0 +1,8 @@ +(Program +{+(Modifier If + (Identifier) + (Identifier))+} +{-(Modifier Unless + (Negate + (Identifier)) + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/if-unless-modifiers.diffB-A.txt b/test/fixtures/ruby/if-unless-modifiers.diffB-A.txt new file mode 100644 index 000000000..f12b5485b --- /dev/null +++ b/test/fixtures/ruby/if-unless-modifiers.diffB-A.txt @@ -0,0 +1,8 @@ +(Program +{+(Modifier Unless + (Negate + (Identifier)) + (Identifier))+} +{-(Modifier If + (Identifier) + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/if-unless-modifiers.parseA.txt b/test/fixtures/ruby/if-unless-modifiers.parseA.txt new file mode 100644 index 000000000..786b9a482 --- /dev/null +++ b/test/fixtures/ruby/if-unless-modifiers.parseA.txt @@ -0,0 +1,5 @@ +(Program + (Modifier Unless + (Negate + (Identifier)) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/if-unless-modifiers.parseB.txt b/test/fixtures/ruby/if-unless-modifiers.parseB.txt new file mode 100644 index 000000000..30c4f6a8f --- /dev/null +++ b/test/fixtures/ruby/if-unless-modifiers.parseB.txt @@ -0,0 +1,4 @@ +(Program + (Modifier If + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/if.A.rb b/test/fixtures/ruby/if.A.rb new file mode 100644 index 000000000..5e5ef77a2 --- /dev/null +++ b/test/fixtures/ruby/if.A.rb @@ -0,0 +1,7 @@ +if foo + bar +elsif quux + baz +else + bat +end \ No newline at end of file diff --git a/test/fixtures/ruby/if.B.rb b/test/fixtures/ruby/if.B.rb new file mode 100644 index 000000000..ec4e34585 --- /dev/null +++ b/test/fixtures/ruby/if.B.rb @@ -0,0 +1,4 @@ +if x +end +if y then +end \ No newline at end of file diff --git a/test/fixtures/ruby/if.diffA-B.txt b/test/fixtures/ruby/if.diffA-B.txt new file mode 100644 index 000000000..7cd6219be --- /dev/null +++ b/test/fixtures/ruby/if.diffA-B.txt @@ -0,0 +1,12 @@ +(Program + (If + { (Identifier) + ->(Identifier) } + {-(Identifier)-} + {-(Elsif + (Identifier) + (Identifier) + (Else + (Identifier)))-}) +{+(If + (Identifier))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/if.diffB-A.txt b/test/fixtures/ruby/if.diffB-A.txt new file mode 100644 index 000000000..b85b39b69 --- /dev/null +++ b/test/fixtures/ruby/if.diffB-A.txt @@ -0,0 +1,12 @@ +(Program + (If + { (Identifier) + ->(Identifier) } + {+(Identifier)+} + {+(Elsif + (Identifier) + (Identifier) + (Else + (Identifier)))+}) +{-(If + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/if.parseA.txt b/test/fixtures/ruby/if.parseA.txt new file mode 100644 index 000000000..e33462bbe --- /dev/null +++ b/test/fixtures/ruby/if.parseA.txt @@ -0,0 +1,9 @@ +(Program + (If + (Identifier) + (Identifier) + (Elsif + (Identifier) + (Identifier) + (Else + (Identifier))))) \ No newline at end of file diff --git a/test/fixtures/ruby/if.parseB.txt b/test/fixtures/ruby/if.parseB.txt new file mode 100644 index 000000000..8e78d8ee2 --- /dev/null +++ b/test/fixtures/ruby/if.parseB.txt @@ -0,0 +1,5 @@ +(Program + (If + (Identifier)) + (If + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/interpolation.A.rb b/test/fixtures/ruby/interpolation.A.rb new file mode 100644 index 000000000..739e64b98 --- /dev/null +++ b/test/fixtures/ruby/interpolation.A.rb @@ -0,0 +1,2 @@ +:"foo #{bar}" +"foo #{bar}" \ No newline at end of file diff --git a/test/fixtures/ruby/interpolation.B.rb b/test/fixtures/ruby/interpolation.B.rb new file mode 100644 index 000000000..cef77c015 --- /dev/null +++ b/test/fixtures/ruby/interpolation.B.rb @@ -0,0 +1,2 @@ +:"bar #{foo}" +"bar #{foo}" \ No newline at end of file diff --git a/test/fixtures/ruby/interpolation.diffA-B.txt b/test/fixtures/ruby/interpolation.diffA-B.txt new file mode 100644 index 000000000..f05d91ac6 --- /dev/null +++ b/test/fixtures/ruby/interpolation.diffA-B.txt @@ -0,0 +1,7 @@ +(Program + (SymbolLiteral + { (Identifier) + ->(Identifier) }) + (StringLiteral + { (Identifier) + ->(Identifier) })) \ No newline at end of file diff --git a/test/fixtures/ruby/interpolation.diffB-A.txt b/test/fixtures/ruby/interpolation.diffB-A.txt new file mode 100644 index 000000000..f05d91ac6 --- /dev/null +++ b/test/fixtures/ruby/interpolation.diffB-A.txt @@ -0,0 +1,7 @@ +(Program + (SymbolLiteral + { (Identifier) + ->(Identifier) }) + (StringLiteral + { (Identifier) + ->(Identifier) })) \ No newline at end of file diff --git a/test/fixtures/ruby/interpolation.parseA.txt b/test/fixtures/ruby/interpolation.parseA.txt new file mode 100644 index 000000000..68e70cf4a --- /dev/null +++ b/test/fixtures/ruby/interpolation.parseA.txt @@ -0,0 +1,5 @@ +(Program + (SymbolLiteral + (Identifier)) + (StringLiteral + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/interpolation.parseB.txt b/test/fixtures/ruby/interpolation.parseB.txt new file mode 100644 index 000000000..68e70cf4a --- /dev/null +++ b/test/fixtures/ruby/interpolation.parseB.txt @@ -0,0 +1,5 @@ +(Program + (SymbolLiteral + (Identifier)) + (StringLiteral + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda-dash-rocket.A.rb b/test/fixtures/ruby/lambda-dash-rocket.A.rb new file mode 100644 index 000000000..dfc9db47d --- /dev/null +++ b/test/fixtures/ruby/lambda-dash-rocket.A.rb @@ -0,0 +1,4 @@ +-> (a, b, c) { + 1 + 2 +} \ No newline at end of file diff --git a/test/fixtures/ruby/lambda-dash-rocket.B.rb b/test/fixtures/ruby/lambda-dash-rocket.B.rb new file mode 100644 index 000000000..b73390d5b --- /dev/null +++ b/test/fixtures/ruby/lambda-dash-rocket.B.rb @@ -0,0 +1 @@ +-> { foo } \ No newline at end of file diff --git a/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt b/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt new file mode 100644 index 000000000..8256e691b --- /dev/null +++ b/test/fixtures/ruby/lambda-dash-rocket.diffA-B.txt @@ -0,0 +1,9 @@ +(Program +{ (Other "lambda" + (Identifier) + (Identifier) + (Identifier) + (IntegerLiteral) + (IntegerLiteral)) +->(Other "lambda" + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt b/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt new file mode 100644 index 000000000..e10f25f9d --- /dev/null +++ b/test/fixtures/ruby/lambda-dash-rocket.diffB-A.txt @@ -0,0 +1,9 @@ +(Program +{ (Other "lambda" + (Identifier)) +->(Other "lambda" + (Identifier) + (Identifier) + (Identifier) + (IntegerLiteral) + (IntegerLiteral)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda-dash-rocket.parseA.txt b/test/fixtures/ruby/lambda-dash-rocket.parseA.txt new file mode 100644 index 000000000..4db829c33 --- /dev/null +++ b/test/fixtures/ruby/lambda-dash-rocket.parseA.txt @@ -0,0 +1,7 @@ +(Program + (Other "lambda" + (Identifier) + (Identifier) + (Identifier) + (IntegerLiteral) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda-dash-rocket.parseB.txt b/test/fixtures/ruby/lambda-dash-rocket.parseB.txt new file mode 100644 index 000000000..cd476e9f3 --- /dev/null +++ b/test/fixtures/ruby/lambda-dash-rocket.parseB.txt @@ -0,0 +1,3 @@ +(Program + (Other "lambda" + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda.A.rb b/test/fixtures/ruby/lambda.A.rb new file mode 100644 index 000000000..86cd76573 --- /dev/null +++ b/test/fixtures/ruby/lambda.A.rb @@ -0,0 +1 @@ +lambda { foo } \ No newline at end of file diff --git a/test/fixtures/ruby/lambda.B.rb b/test/fixtures/ruby/lambda.B.rb new file mode 100644 index 000000000..ec6428dea --- /dev/null +++ b/test/fixtures/ruby/lambda.B.rb @@ -0,0 +1 @@ +lambda { |x| x + 1 } \ No newline at end of file diff --git a/test/fixtures/ruby/lambda.diffA-B.txt b/test/fixtures/ruby/lambda.diffA-B.txt new file mode 100644 index 000000000..e72782d7c --- /dev/null +++ b/test/fixtures/ruby/lambda.diffA-B.txt @@ -0,0 +1,9 @@ +(Program +{ (Other "lambda" + (Identifier)) +->(Other "lambda" + (Identifier) + (Binary + (Identifier) + (Other "+") + (IntegerLiteral))) }) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda.diffB-A.txt b/test/fixtures/ruby/lambda.diffB-A.txt new file mode 100644 index 000000000..1a6ef9cec --- /dev/null +++ b/test/fixtures/ruby/lambda.diffB-A.txt @@ -0,0 +1,9 @@ +(Program +{ (Other "lambda" + (Identifier) + (Binary + (Identifier) + (Other "+") + (IntegerLiteral))) +->(Other "lambda" + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda.parseA.txt b/test/fixtures/ruby/lambda.parseA.txt new file mode 100644 index 000000000..cd476e9f3 --- /dev/null +++ b/test/fixtures/ruby/lambda.parseA.txt @@ -0,0 +1,3 @@ +(Program + (Other "lambda" + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/lambda.parseB.txt b/test/fixtures/ruby/lambda.parseB.txt new file mode 100644 index 000000000..00cef4571 --- /dev/null +++ b/test/fixtures/ruby/lambda.parseB.txt @@ -0,0 +1,7 @@ +(Program + (Other "lambda" + (Identifier) + (Binary + (Identifier) + (Other "+") + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/math-assignment.A.rb b/test/fixtures/ruby/math-assignment.A.rb new file mode 100644 index 000000000..d0736351b --- /dev/null +++ b/test/fixtures/ruby/math-assignment.A.rb @@ -0,0 +1,5 @@ +x += 1 +x -= 1 +x *= 1 +x /= 1 +x **= 1 \ No newline at end of file diff --git a/test/fixtures/ruby/math-assignment.B.rb b/test/fixtures/ruby/math-assignment.B.rb new file mode 100644 index 000000000..c7deab285 --- /dev/null +++ b/test/fixtures/ruby/math-assignment.B.rb @@ -0,0 +1,5 @@ +x+= 2 +x -= 1 +x *= 1 +x /= 1 +x **= 1 \ No newline at end of file diff --git a/test/fixtures/ruby/math-assignment.diffA-B.txt b/test/fixtures/ruby/math-assignment.diffA-B.txt new file mode 100644 index 000000000..b6e6bee8e --- /dev/null +++ b/test/fixtures/ruby/math-assignment.diffA-B.txt @@ -0,0 +1,17 @@ +(Program + (OperatorAssignment + (Identifier) + { (IntegerLiteral) + ->(IntegerLiteral) }) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/math-assignment.diffB-A.txt b/test/fixtures/ruby/math-assignment.diffB-A.txt new file mode 100644 index 000000000..b6e6bee8e --- /dev/null +++ b/test/fixtures/ruby/math-assignment.diffB-A.txt @@ -0,0 +1,17 @@ +(Program + (OperatorAssignment + (Identifier) + { (IntegerLiteral) + ->(IntegerLiteral) }) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/math-assignment.parseA.txt b/test/fixtures/ruby/math-assignment.parseA.txt new file mode 100644 index 000000000..d5da09fa3 --- /dev/null +++ b/test/fixtures/ruby/math-assignment.parseA.txt @@ -0,0 +1,16 @@ +(Program + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/math-assignment.parseB.txt b/test/fixtures/ruby/math-assignment.parseB.txt new file mode 100644 index 000000000..d5da09fa3 --- /dev/null +++ b/test/fixtures/ruby/math-assignment.parseB.txt @@ -0,0 +1,16 @@ +(Program + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral)) + (OperatorAssignment + (Identifier) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-hash-args.A.rb b/test/fixtures/ruby/method-calls-hash-args.A.rb new file mode 100644 index 000000000..7008a4d8d --- /dev/null +++ b/test/fixtures/ruby/method-calls-hash-args.A.rb @@ -0,0 +1 @@ +foo(:bar => true) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-hash-args.B.rb b/test/fixtures/ruby/method-calls-hash-args.B.rb new file mode 100644 index 000000000..bad301ae3 --- /dev/null +++ b/test/fixtures/ruby/method-calls-hash-args.B.rb @@ -0,0 +1 @@ +foo(:bar => true, :baz => 1) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-hash-args.diffA-B.txt b/test/fixtures/ruby/method-calls-hash-args.diffA-B.txt new file mode 100644 index 000000000..582262d55 --- /dev/null +++ b/test/fixtures/ruby/method-calls-hash-args.diffA-B.txt @@ -0,0 +1,9 @@ +(Program + (MethodCall + (Identifier) + (Pair + (SymbolLiteral) + (Boolean)) + {+(Pair + (SymbolLiteral) + (IntegerLiteral))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-hash-args.diffB-A.txt b/test/fixtures/ruby/method-calls-hash-args.diffB-A.txt new file mode 100644 index 000000000..c348118ec --- /dev/null +++ b/test/fixtures/ruby/method-calls-hash-args.diffB-A.txt @@ -0,0 +1,9 @@ +(Program + (MethodCall + (Identifier) + (Pair + (SymbolLiteral) + (Boolean)) + {-(Pair + (SymbolLiteral) + (IntegerLiteral))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-hash-args.parseA.txt b/test/fixtures/ruby/method-calls-hash-args.parseA.txt new file mode 100644 index 000000000..35ee189de --- /dev/null +++ b/test/fixtures/ruby/method-calls-hash-args.parseA.txt @@ -0,0 +1,6 @@ +(Program + (MethodCall + (Identifier) + (Pair + (SymbolLiteral) + (Boolean)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-hash-args.parseB.txt b/test/fixtures/ruby/method-calls-hash-args.parseB.txt new file mode 100644 index 000000000..5be6a2228 --- /dev/null +++ b/test/fixtures/ruby/method-calls-hash-args.parseB.txt @@ -0,0 +1,9 @@ +(Program + (MethodCall + (Identifier) + (Pair + (SymbolLiteral) + (Boolean)) + (Pair + (SymbolLiteral) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-keyword-args.A.rb b/test/fixtures/ruby/method-calls-keyword-args.A.rb new file mode 100644 index 000000000..5772e8e21 --- /dev/null +++ b/test/fixtures/ruby/method-calls-keyword-args.A.rb @@ -0,0 +1 @@ +foo(bar: true) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-keyword-args.B.rb b/test/fixtures/ruby/method-calls-keyword-args.B.rb new file mode 100644 index 000000000..a68b4f08c --- /dev/null +++ b/test/fixtures/ruby/method-calls-keyword-args.B.rb @@ -0,0 +1 @@ +foo(bar: true, baz: 1) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-keyword-args.diffA-B.txt b/test/fixtures/ruby/method-calls-keyword-args.diffA-B.txt new file mode 100644 index 000000000..41b70b58f --- /dev/null +++ b/test/fixtures/ruby/method-calls-keyword-args.diffA-B.txt @@ -0,0 +1,9 @@ +(Program + (MethodCall + (Identifier) + (Pair + (Identifier) + (Boolean)) + {+(Pair + (Identifier) + (IntegerLiteral))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-keyword-args.diffB-A.txt b/test/fixtures/ruby/method-calls-keyword-args.diffB-A.txt new file mode 100644 index 000000000..f7aeb599e --- /dev/null +++ b/test/fixtures/ruby/method-calls-keyword-args.diffB-A.txt @@ -0,0 +1,9 @@ +(Program + (MethodCall + (Identifier) + (Pair + (Identifier) + (Boolean)) + {-(Pair + (Identifier) + (IntegerLiteral))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-keyword-args.parseA.txt b/test/fixtures/ruby/method-calls-keyword-args.parseA.txt new file mode 100644 index 000000000..d0c2e36ce --- /dev/null +++ b/test/fixtures/ruby/method-calls-keyword-args.parseA.txt @@ -0,0 +1,6 @@ +(Program + (MethodCall + (Identifier) + (Pair + (Identifier) + (Boolean)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls-keyword-args.parseB.txt b/test/fixtures/ruby/method-calls-keyword-args.parseB.txt new file mode 100644 index 000000000..0d2aefe97 --- /dev/null +++ b/test/fixtures/ruby/method-calls-keyword-args.parseB.txt @@ -0,0 +1,9 @@ +(Program + (MethodCall + (Identifier) + (Pair + (Identifier) + (Boolean)) + (Pair + (Identifier) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls.A.rb b/test/fixtures/ruby/method-calls.A.rb new file mode 100644 index 000000000..1ba5ffe37 --- /dev/null +++ b/test/fixtures/ruby/method-calls.A.rb @@ -0,0 +1 @@ +x.foo() \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls.B.rb b/test/fixtures/ruby/method-calls.B.rb new file mode 100644 index 000000000..879639ca8 --- /dev/null +++ b/test/fixtures/ruby/method-calls.B.rb @@ -0,0 +1 @@ +bar() \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls.diffA-B.txt b/test/fixtures/ruby/method-calls.diffA-B.txt new file mode 100644 index 000000000..48aac0e0e --- /dev/null +++ b/test/fixtures/ruby/method-calls.diffA-B.txt @@ -0,0 +1,6 @@ +(Program +{ (MethodCall + (Identifier) + (Identifier)) +->(MethodCall + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls.diffB-A.txt b/test/fixtures/ruby/method-calls.diffB-A.txt new file mode 100644 index 000000000..e5c4f8410 --- /dev/null +++ b/test/fixtures/ruby/method-calls.diffB-A.txt @@ -0,0 +1,6 @@ +(Program +{ (MethodCall + (Identifier)) +->(MethodCall + (Identifier) + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls.parseA.txt b/test/fixtures/ruby/method-calls.parseA.txt new file mode 100644 index 000000000..a8a43e35d --- /dev/null +++ b/test/fixtures/ruby/method-calls.parseA.txt @@ -0,0 +1,4 @@ +(Program + (MethodCall + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-calls.parseB.txt b/test/fixtures/ruby/method-calls.parseB.txt new file mode 100644 index 000000000..c346fa9cc --- /dev/null +++ b/test/fixtures/ruby/method-calls.parseB.txt @@ -0,0 +1,3 @@ +(Program + (MethodCall + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-keyword-param.A.rb b/test/fixtures/ruby/method-declaration-keyword-param.A.rb new file mode 100644 index 000000000..7f973936d --- /dev/null +++ b/test/fixtures/ruby/method-declaration-keyword-param.A.rb @@ -0,0 +1,2 @@ +def foo() +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-keyword-param.B.rb b/test/fixtures/ruby/method-declaration-keyword-param.B.rb new file mode 100644 index 000000000..942472103 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-keyword-param.B.rb @@ -0,0 +1,2 @@ +def foo(name: nil) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-keyword-param.diffA-B.txt b/test/fixtures/ruby/method-declaration-keyword-param.diffA-B.txt new file mode 100644 index 000000000..c161ba1d0 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-keyword-param.diffA-B.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + {+(KeywordParameter + (Identifier) + (Identifier))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-keyword-param.diffB-A.txt b/test/fixtures/ruby/method-declaration-keyword-param.diffB-A.txt new file mode 100644 index 000000000..34d17c085 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-keyword-param.diffB-A.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + {-(KeywordParameter + (Identifier) + (Identifier))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-keyword-param.parseA.txt b/test/fixtures/ruby/method-declaration-keyword-param.parseA.txt new file mode 100644 index 000000000..e3b62628a --- /dev/null +++ b/test/fixtures/ruby/method-declaration-keyword-param.parseA.txt @@ -0,0 +1,3 @@ +(Program + (Method + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-keyword-param.parseB.txt b/test/fixtures/ruby/method-declaration-keyword-param.parseB.txt new file mode 100644 index 000000000..abd49d884 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-keyword-param.parseB.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + (KeywordParameter + (Identifier) + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-param-default.A.rb b/test/fixtures/ruby/method-declaration-param-default.A.rb new file mode 100644 index 000000000..7f973936d --- /dev/null +++ b/test/fixtures/ruby/method-declaration-param-default.A.rb @@ -0,0 +1,2 @@ +def foo() +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-param-default.B.rb b/test/fixtures/ruby/method-declaration-param-default.B.rb new file mode 100644 index 000000000..a86a8a55c --- /dev/null +++ b/test/fixtures/ruby/method-declaration-param-default.B.rb @@ -0,0 +1,2 @@ +def foo(name = nil) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-param-default.diffA-B.txt b/test/fixtures/ruby/method-declaration-param-default.diffA-B.txt new file mode 100644 index 000000000..bf0f2746c --- /dev/null +++ b/test/fixtures/ruby/method-declaration-param-default.diffA-B.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + {+(OptionalParameter + (Identifier) + (Identifier))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-param-default.diffB-A.txt b/test/fixtures/ruby/method-declaration-param-default.diffB-A.txt new file mode 100644 index 000000000..03b47392f --- /dev/null +++ b/test/fixtures/ruby/method-declaration-param-default.diffB-A.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + {-(OptionalParameter + (Identifier) + (Identifier))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-param-default.parseA.txt b/test/fixtures/ruby/method-declaration-param-default.parseA.txt new file mode 100644 index 000000000..e3b62628a --- /dev/null +++ b/test/fixtures/ruby/method-declaration-param-default.parseA.txt @@ -0,0 +1,3 @@ +(Program + (Method + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-param-default.parseB.txt b/test/fixtures/ruby/method-declaration-param-default.parseB.txt new file mode 100644 index 000000000..bbecbfd23 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-param-default.parseB.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + (OptionalParameter + (Identifier) + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-params.A.rb b/test/fixtures/ruby/method-declaration-params.A.rb new file mode 100644 index 000000000..7770e0e61 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-params.A.rb @@ -0,0 +1,2 @@ +def foo(a) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-params.B.rb b/test/fixtures/ruby/method-declaration-params.B.rb new file mode 100644 index 000000000..5c7e8f36a --- /dev/null +++ b/test/fixtures/ruby/method-declaration-params.B.rb @@ -0,0 +1,2 @@ +def foo(a, b, c) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-params.diffA-B.txt b/test/fixtures/ruby/method-declaration-params.diffA-B.txt new file mode 100644 index 000000000..fac4006bf --- /dev/null +++ b/test/fixtures/ruby/method-declaration-params.diffA-B.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + (Identifier) + {+(Identifier)+} + {+(Identifier)+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-params.diffB-A.txt b/test/fixtures/ruby/method-declaration-params.diffB-A.txt new file mode 100644 index 000000000..78ec7b096 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-params.diffB-A.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + (Identifier) + {-(Identifier)-} + {-(Identifier)-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-params.parseA.txt b/test/fixtures/ruby/method-declaration-params.parseA.txt new file mode 100644 index 000000000..254021b30 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-params.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Method + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-params.parseB.txt b/test/fixtures/ruby/method-declaration-params.parseB.txt new file mode 100644 index 000000000..c765ab07b --- /dev/null +++ b/test/fixtures/ruby/method-declaration-params.parseB.txt @@ -0,0 +1,6 @@ +(Program + (Method + (Identifier) + (Identifier) + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-required-keyword-param.A.rb b/test/fixtures/ruby/method-declaration-required-keyword-param.A.rb new file mode 100644 index 000000000..7f973936d --- /dev/null +++ b/test/fixtures/ruby/method-declaration-required-keyword-param.A.rb @@ -0,0 +1,2 @@ +def foo() +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-required-keyword-param.B.rb b/test/fixtures/ruby/method-declaration-required-keyword-param.B.rb new file mode 100644 index 000000000..f483107a3 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-required-keyword-param.B.rb @@ -0,0 +1,2 @@ +def foo(name:) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-required-keyword-param.diffA-B.txt b/test/fixtures/ruby/method-declaration-required-keyword-param.diffA-B.txt new file mode 100644 index 000000000..4c9df6e63 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-required-keyword-param.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + {+(KeywordParameter + (Identifier))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-required-keyword-param.diffB-A.txt b/test/fixtures/ruby/method-declaration-required-keyword-param.diffB-A.txt new file mode 100644 index 000000000..3371423a2 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-required-keyword-param.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + {-(KeywordParameter + (Identifier))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-required-keyword-param.parseA.txt b/test/fixtures/ruby/method-declaration-required-keyword-param.parseA.txt new file mode 100644 index 000000000..e3b62628a --- /dev/null +++ b/test/fixtures/ruby/method-declaration-required-keyword-param.parseA.txt @@ -0,0 +1,3 @@ +(Program + (Method + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-required-keyword-param.parseB.txt b/test/fixtures/ruby/method-declaration-required-keyword-param.parseB.txt new file mode 100644 index 000000000..cf789ecd6 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-required-keyword-param.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + (KeywordParameter + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-unnamed-param.A.rb b/test/fixtures/ruby/method-declaration-unnamed-param.A.rb new file mode 100644 index 000000000..8a38f0c19 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-unnamed-param.A.rb @@ -0,0 +1,2 @@ +def foo(name) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-unnamed-param.B.rb b/test/fixtures/ruby/method-declaration-unnamed-param.B.rb new file mode 100644 index 000000000..00f7cb5d7 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-unnamed-param.B.rb @@ -0,0 +1,2 @@ +def foo(name, **) +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-unnamed-param.diffA-B.txt b/test/fixtures/ruby/method-declaration-unnamed-param.diffA-B.txt new file mode 100644 index 000000000..f7c3f70e6 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-unnamed-param.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + (Identifier) + {+(HashSplatParameter)+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-unnamed-param.diffB-A.txt b/test/fixtures/ruby/method-declaration-unnamed-param.diffB-A.txt new file mode 100644 index 000000000..151fba6b5 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-unnamed-param.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + (Identifier) + {-(HashSplatParameter)-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-unnamed-param.parseA.txt b/test/fixtures/ruby/method-declaration-unnamed-param.parseA.txt new file mode 100644 index 000000000..254021b30 --- /dev/null +++ b/test/fixtures/ruby/method-declaration-unnamed-param.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Method + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration-unnamed-param.parseB.txt b/test/fixtures/ruby/method-declaration-unnamed-param.parseB.txt new file mode 100644 index 000000000..54c3410ff --- /dev/null +++ b/test/fixtures/ruby/method-declaration-unnamed-param.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + (Identifier) + (HashSplatParameter))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration.A.rb b/test/fixtures/ruby/method-declaration.A.rb new file mode 100644 index 000000000..fbe85752d --- /dev/null +++ b/test/fixtures/ruby/method-declaration.A.rb @@ -0,0 +1,2 @@ +def foo +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration.B.rb b/test/fixtures/ruby/method-declaration.B.rb new file mode 100644 index 000000000..c1608640b --- /dev/null +++ b/test/fixtures/ruby/method-declaration.B.rb @@ -0,0 +1,3 @@ +def bar(a) + baz +end \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration.diffA-B.txt b/test/fixtures/ruby/method-declaration.diffA-B.txt new file mode 100644 index 000000000..20c9b931d --- /dev/null +++ b/test/fixtures/ruby/method-declaration.diffA-B.txt @@ -0,0 +1,6 @@ +(Program + (Method + { (Identifier) + ->(Identifier) } + {+(Identifier)+} + {+(Identifier)+})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration.diffB-A.txt b/test/fixtures/ruby/method-declaration.diffB-A.txt new file mode 100644 index 000000000..ba7d020e3 --- /dev/null +++ b/test/fixtures/ruby/method-declaration.diffB-A.txt @@ -0,0 +1,6 @@ +(Program + (Method + { (Identifier) + ->(Identifier) } + {-(Identifier)-} + {-(Identifier)-})) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration.parseA.txt b/test/fixtures/ruby/method-declaration.parseA.txt new file mode 100644 index 000000000..e3b62628a --- /dev/null +++ b/test/fixtures/ruby/method-declaration.parseA.txt @@ -0,0 +1,3 @@ +(Program + (Method + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-declaration.parseB.txt b/test/fixtures/ruby/method-declaration.parseB.txt new file mode 100644 index 000000000..ac9f4d08e --- /dev/null +++ b/test/fixtures/ruby/method-declaration.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Method + (Identifier) + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/method-invocation.A.rb b/test/fixtures/ruby/method-invocation.A.rb new file mode 100644 index 000000000..80222ad03 --- /dev/null +++ b/test/fixtures/ruby/method-invocation.A.rb @@ -0,0 +1,3 @@ +print +foo.bar +bar \ No newline at end of file diff --git a/test/fixtures/ruby/method-invocation.B.rb b/test/fixtures/ruby/method-invocation.B.rb new file mode 100644 index 000000000..2d9a4a854 --- /dev/null +++ b/test/fixtures/ruby/method-invocation.B.rb @@ -0,0 +1,4 @@ +print("hello world") +foo.bar() +bar 2, 3 +bar(2, 3) \ No newline at end of file diff --git a/test/fixtures/ruby/method-invocation.diffA-B.txt b/test/fixtures/ruby/method-invocation.diffA-B.txt new file mode 100644 index 000000000..3dc8de5e9 --- /dev/null +++ b/test/fixtures/ruby/method-invocation.diffA-B.txt @@ -0,0 +1,20 @@ +(Program +{+(MethodCall + (Identifier) + (StringLiteral))+} +{+(MethodCall + (Identifier) + (Identifier))+} +{+(MethodCall + (Identifier) + (IntegerLiteral) + (IntegerLiteral))+} +{+(MethodCall + (Identifier) + (IntegerLiteral) + (IntegerLiteral))+} +{-(Identifier)-} +{-(MemberAccess + (Identifier) + (Identifier))-} +{-(Identifier)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/method-invocation.diffB-A.txt b/test/fixtures/ruby/method-invocation.diffB-A.txt new file mode 100644 index 000000000..46dacef76 --- /dev/null +++ b/test/fixtures/ruby/method-invocation.diffB-A.txt @@ -0,0 +1,20 @@ +(Program +{+(Identifier)+} +{+(MemberAccess + (Identifier) + (Identifier))+} +{+(Identifier)+} +{-(MethodCall + (Identifier) + (StringLiteral))-} +{-(MethodCall + (Identifier) + (Identifier))-} +{-(MethodCall + (Identifier) + (IntegerLiteral) + (IntegerLiteral))-} +{-(MethodCall + (Identifier) + (IntegerLiteral) + (IntegerLiteral))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/method-invocation.parseA.txt b/test/fixtures/ruby/method-invocation.parseA.txt new file mode 100644 index 000000000..473dc4db2 --- /dev/null +++ b/test/fixtures/ruby/method-invocation.parseA.txt @@ -0,0 +1,6 @@ +(Program + (Identifier) + (MemberAccess + (Identifier) + (Identifier)) + (Identifier)) \ No newline at end of file diff --git a/test/fixtures/ruby/method-invocation.parseB.txt b/test/fixtures/ruby/method-invocation.parseB.txt new file mode 100644 index 000000000..c5f60ebfb --- /dev/null +++ b/test/fixtures/ruby/method-invocation.parseB.txt @@ -0,0 +1,15 @@ +(Program + (MethodCall + (Identifier) + (StringLiteral)) + (MethodCall + (Identifier) + (Identifier)) + (MethodCall + (Identifier) + (IntegerLiteral) + (IntegerLiteral)) + (MethodCall + (Identifier) + (IntegerLiteral) + (IntegerLiteral))) \ No newline at end of file diff --git a/test/fixtures/ruby/module.A.rb b/test/fixtures/ruby/module.A.rb new file mode 100644 index 000000000..81df0ca57 --- /dev/null +++ b/test/fixtures/ruby/module.A.rb @@ -0,0 +1,2 @@ +module Foo +end \ No newline at end of file diff --git a/test/fixtures/ruby/module.B.rb b/test/fixtures/ruby/module.B.rb new file mode 100644 index 000000000..4639da681 --- /dev/null +++ b/test/fixtures/ruby/module.B.rb @@ -0,0 +1,4 @@ +module Foo + def bar + end +end \ No newline at end of file diff --git a/test/fixtures/ruby/module.diffA-B.txt b/test/fixtures/ruby/module.diffA-B.txt new file mode 100644 index 000000000..69a197ea3 --- /dev/null +++ b/test/fixtures/ruby/module.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (Module + (Constant) + {+(Method + (Identifier))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/module.diffB-A.txt b/test/fixtures/ruby/module.diffB-A.txt new file mode 100644 index 000000000..ef9e4ec3d --- /dev/null +++ b/test/fixtures/ruby/module.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (Module + (Constant) + {-(Method + (Identifier))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/module.parseA.txt b/test/fixtures/ruby/module.parseA.txt new file mode 100644 index 000000000..5e4384cdd --- /dev/null +++ b/test/fixtures/ruby/module.parseA.txt @@ -0,0 +1,3 @@ +(Program + (Module + (Constant))) \ No newline at end of file diff --git a/test/fixtures/ruby/module.parseB.txt b/test/fixtures/ruby/module.parseB.txt new file mode 100644 index 000000000..3c893ff2d --- /dev/null +++ b/test/fixtures/ruby/module.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Module + (Constant) + (Method + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/multiple-assignments.A.rb b/test/fixtures/ruby/multiple-assignments.A.rb new file mode 100644 index 000000000..9d0d698a0 --- /dev/null +++ b/test/fixtures/ruby/multiple-assignments.A.rb @@ -0,0 +1 @@ +x, y, z = [10, 20, 30] \ No newline at end of file diff --git a/test/fixtures/ruby/multiple-assignments.B.rb b/test/fixtures/ruby/multiple-assignments.B.rb new file mode 100644 index 000000000..228927c5f --- /dev/null +++ b/test/fixtures/ruby/multiple-assignments.B.rb @@ -0,0 +1 @@ +x, *y = [10, 20, 30] \ No newline at end of file diff --git a/test/fixtures/ruby/multiple-assignments.diffA-B.txt b/test/fixtures/ruby/multiple-assignments.diffA-B.txt new file mode 100644 index 000000000..1c6b58e80 --- /dev/null +++ b/test/fixtures/ruby/multiple-assignments.diffA-B.txt @@ -0,0 +1,12 @@ +(Program + (Assignment + (Other "left_assignment_list" + (Identifier) + {+(Other "rest_assignment" + (Identifier))+} + {-(Identifier)-} + {-(Identifier)-}) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/multiple-assignments.diffB-A.txt b/test/fixtures/ruby/multiple-assignments.diffB-A.txt new file mode 100644 index 000000000..ed2f08702 --- /dev/null +++ b/test/fixtures/ruby/multiple-assignments.diffB-A.txt @@ -0,0 +1,12 @@ +(Program + (Assignment + (Other "left_assignment_list" + (Identifier) + {+(Identifier)+} + {+(Identifier)+} + {-(Other "rest_assignment" + (Identifier))-}) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/multiple-assignments.parseA.txt b/test/fixtures/ruby/multiple-assignments.parseA.txt new file mode 100644 index 000000000..364fd5986 --- /dev/null +++ b/test/fixtures/ruby/multiple-assignments.parseA.txt @@ -0,0 +1,10 @@ +(Program + (Assignment + (Other "left_assignment_list" + (Identifier) + (Identifier) + (Identifier)) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/multiple-assignments.parseB.txt b/test/fixtures/ruby/multiple-assignments.parseB.txt new file mode 100644 index 000000000..f67743532 --- /dev/null +++ b/test/fixtures/ruby/multiple-assignments.parseB.txt @@ -0,0 +1,10 @@ +(Program + (Assignment + (Other "left_assignment_list" + (Identifier) + (Other "rest_assignment" + (Identifier))) + (ArrayLiteral + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral)))) \ No newline at end of file diff --git a/test/fixtures/ruby/number.A.rb b/test/fixtures/ruby/number.A.rb new file mode 100644 index 000000000..a0425e5a9 --- /dev/null +++ b/test/fixtures/ruby/number.A.rb @@ -0,0 +1,7 @@ +1234 +1_234 +0d1_234 +0xa_bcd_ef0_123_456_789 +0o1234567 +0b1_0 +1.234_5e678_90 diff --git a/test/fixtures/ruby/number.B.rb b/test/fixtures/ruby/number.B.rb new file mode 100644 index 000000000..d0969b95d --- /dev/null +++ b/test/fixtures/ruby/number.B.rb @@ -0,0 +1,7 @@ +1235 +1_235 +0d1_235 +0xa_bcd_ef0_123_456_788 +0o1234576 +0b1_1 +1.234_5e678_91 diff --git a/test/fixtures/ruby/number.diffA-B.txt b/test/fixtures/ruby/number.diffA-B.txt new file mode 100644 index 000000000..cf54f7cbb --- /dev/null +++ b/test/fixtures/ruby/number.diffA-B.txt @@ -0,0 +1,15 @@ +(Program +{+(IntegerLiteral)+} +{+(IntegerLiteral)+} +{+(IntegerLiteral)+} +{+(IntegerLiteral)+} +{ (IntegerLiteral) +->(IntegerLiteral) } +{+(IntegerLiteral)+} +{+(NumberLiteral)+} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(NumberLiteral)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/number.diffB-A.txt b/test/fixtures/ruby/number.diffB-A.txt new file mode 100644 index 000000000..d5594f304 --- /dev/null +++ b/test/fixtures/ruby/number.diffB-A.txt @@ -0,0 +1,15 @@ +(Program +{+(IntegerLiteral)+} +{+(IntegerLiteral)+} +{+(IntegerLiteral)+} +{+(IntegerLiteral)+} +{ (IntegerLiteral) +->(IntegerLiteral) } +{ (IntegerLiteral) +->(IntegerLiteral) } +{+(NumberLiteral)+} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(IntegerLiteral)-} +{-(NumberLiteral)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/number.parseA.txt b/test/fixtures/ruby/number.parseA.txt new file mode 100644 index 000000000..56354acca --- /dev/null +++ b/test/fixtures/ruby/number.parseA.txt @@ -0,0 +1,8 @@ +(Program + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (NumberLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/number.parseB.txt b/test/fixtures/ruby/number.parseB.txt new file mode 100644 index 000000000..56354acca --- /dev/null +++ b/test/fixtures/ruby/number.parseB.txt @@ -0,0 +1,8 @@ +(Program + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (IntegerLiteral) + (NumberLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/percent-array.A.rb b/test/fixtures/ruby/percent-array.A.rb new file mode 100644 index 000000000..01129c721 --- /dev/null +++ b/test/fixtures/ruby/percent-array.A.rb @@ -0,0 +1 @@ +%w(one two) \ No newline at end of file diff --git a/test/fixtures/ruby/percent-array.B.rb b/test/fixtures/ruby/percent-array.B.rb new file mode 100644 index 000000000..2bbf93f3b --- /dev/null +++ b/test/fixtures/ruby/percent-array.B.rb @@ -0,0 +1 @@ +%W(one #{b} three) \ No newline at end of file diff --git a/test/fixtures/ruby/percent-array.diffA-B.txt b/test/fixtures/ruby/percent-array.diffA-B.txt new file mode 100644 index 000000000..e39622b4f --- /dev/null +++ b/test/fixtures/ruby/percent-array.diffA-B.txt @@ -0,0 +1,3 @@ +(Program + (ArrayLiteral + {+(Identifier)+})) \ No newline at end of file diff --git a/test/fixtures/ruby/percent-array.diffB-A.txt b/test/fixtures/ruby/percent-array.diffB-A.txt new file mode 100644 index 000000000..6bfd2812f --- /dev/null +++ b/test/fixtures/ruby/percent-array.diffB-A.txt @@ -0,0 +1,3 @@ +(Program + (ArrayLiteral + {-(Identifier)-})) \ No newline at end of file diff --git a/test/fixtures/ruby/percent-array.parseA.txt b/test/fixtures/ruby/percent-array.parseA.txt new file mode 100644 index 000000000..ee2b6d288 --- /dev/null +++ b/test/fixtures/ruby/percent-array.parseA.txt @@ -0,0 +1,2 @@ +(Program + (ArrayLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/percent-array.parseB.txt b/test/fixtures/ruby/percent-array.parseB.txt new file mode 100644 index 000000000..861db9515 --- /dev/null +++ b/test/fixtures/ruby/percent-array.parseB.txt @@ -0,0 +1,3 @@ +(Program + (ArrayLiteral + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/pseudo-variables.A.rb b/test/fixtures/ruby/pseudo-variables.A.rb new file mode 100644 index 000000000..75542025b --- /dev/null +++ b/test/fixtures/ruby/pseudo-variables.A.rb @@ -0,0 +1,4 @@ +nil +self +false +true \ No newline at end of file diff --git a/test/fixtures/ruby/pseudo-variables.B.rb b/test/fixtures/ruby/pseudo-variables.B.rb new file mode 100644 index 000000000..880c9d56d --- /dev/null +++ b/test/fixtures/ruby/pseudo-variables.B.rb @@ -0,0 +1,4 @@ +self +NIL +TRUE +FALSE \ No newline at end of file diff --git a/test/fixtures/ruby/pseudo-variables.diffA-B.txt b/test/fixtures/ruby/pseudo-variables.diffA-B.txt new file mode 100644 index 000000000..3d065dc84 --- /dev/null +++ b/test/fixtures/ruby/pseudo-variables.diffA-B.txt @@ -0,0 +1,8 @@ +(Program +{-(Identifier)-} + (Identifier) +{+(Identifier)+} +{ (Boolean) +->(Boolean) } +{+(Boolean)+} +{-(Boolean)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/pseudo-variables.diffB-A.txt b/test/fixtures/ruby/pseudo-variables.diffB-A.txt new file mode 100644 index 000000000..d459ea9f7 --- /dev/null +++ b/test/fixtures/ruby/pseudo-variables.diffB-A.txt @@ -0,0 +1,8 @@ +(Program +{+(Identifier)+} + (Identifier) +{+(Boolean)+} +{+(Boolean)+} +{-(Identifier)-} +{-(Boolean)-} +{-(Boolean)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/pseudo-variables.parseA.txt b/test/fixtures/ruby/pseudo-variables.parseA.txt new file mode 100644 index 000000000..c282fda6c --- /dev/null +++ b/test/fixtures/ruby/pseudo-variables.parseA.txt @@ -0,0 +1,5 @@ +(Program + (Identifier) + (Identifier) + (Boolean) + (Boolean)) \ No newline at end of file diff --git a/test/fixtures/ruby/pseudo-variables.parseB.txt b/test/fixtures/ruby/pseudo-variables.parseB.txt new file mode 100644 index 000000000..c282fda6c --- /dev/null +++ b/test/fixtures/ruby/pseudo-variables.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Identifier) + (Identifier) + (Boolean) + (Boolean)) \ No newline at end of file diff --git a/test/fixtures/ruby/regex.A.rb b/test/fixtures/ruby/regex.A.rb new file mode 100644 index 000000000..17e999d52 --- /dev/null +++ b/test/fixtures/ruby/regex.A.rb @@ -0,0 +1 @@ +/^(foo|bar[^_])$/i \ No newline at end of file diff --git a/test/fixtures/ruby/regex.B.rb b/test/fixtures/ruby/regex.B.rb new file mode 100644 index 000000000..82295fb65 --- /dev/null +++ b/test/fixtures/ruby/regex.B.rb @@ -0,0 +1,2 @@ +%r/a/ +%rc> \ No newline at end of file diff --git a/test/fixtures/ruby/regex.diffA-B.txt b/test/fixtures/ruby/regex.diffA-B.txt new file mode 100644 index 000000000..b76f13e59 --- /dev/null +++ b/test/fixtures/ruby/regex.diffA-B.txt @@ -0,0 +1,4 @@ +(Program +{ (Regex) +->(Regex) } +{+(Regex)+}) \ No newline at end of file diff --git a/test/fixtures/ruby/regex.diffB-A.txt b/test/fixtures/ruby/regex.diffB-A.txt new file mode 100644 index 000000000..1a81e3304 --- /dev/null +++ b/test/fixtures/ruby/regex.diffB-A.txt @@ -0,0 +1,4 @@ +(Program +{ (Regex) +->(Regex) } +{-(Regex)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/regex.parseA.txt b/test/fixtures/ruby/regex.parseA.txt new file mode 100644 index 000000000..8518fe8bf --- /dev/null +++ b/test/fixtures/ruby/regex.parseA.txt @@ -0,0 +1,2 @@ +(Program + (Regex)) \ No newline at end of file diff --git a/test/fixtures/ruby/regex.parseB.txt b/test/fixtures/ruby/regex.parseB.txt new file mode 100644 index 000000000..18262415e --- /dev/null +++ b/test/fixtures/ruby/regex.parseB.txt @@ -0,0 +1,3 @@ +(Program + (Regex) + (Regex)) \ No newline at end of file diff --git a/test/fixtures/ruby/relational-operator.A.rb b/test/fixtures/ruby/relational-operator.A.rb new file mode 100644 index 000000000..3a5539ba7 --- /dev/null +++ b/test/fixtures/ruby/relational-operator.A.rb @@ -0,0 +1,3 @@ +x == y +x != y +x === y \ No newline at end of file diff --git a/test/fixtures/ruby/relational-operator.B.rb b/test/fixtures/ruby/relational-operator.B.rb new file mode 100644 index 000000000..7a912ceb2 --- /dev/null +++ b/test/fixtures/ruby/relational-operator.B.rb @@ -0,0 +1,3 @@ +x <=> y +x =~ y +x =! y \ No newline at end of file diff --git a/test/fixtures/ruby/relational-operator.diffA-B.txt b/test/fixtures/ruby/relational-operator.diffA-B.txt new file mode 100644 index 000000000..c084291a7 --- /dev/null +++ b/test/fixtures/ruby/relational-operator.diffA-B.txt @@ -0,0 +1,26 @@ +(Program +{ (Binary + (Identifier) + (Other "==") + (Identifier)) +->(Binary + (Identifier) + (Other "<=>") + (Identifier)) } +{ (Binary + (Identifier) + (Other "!=") + (Identifier)) +->(Binary + (Identifier) + (Other "=~") + (Identifier)) } +{+(Assignment + (Identifier) + (Unary + (Other "!") + (Identifier)))+} +{-(Binary + (Identifier) + (Other "===") + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/relational-operator.diffB-A.txt b/test/fixtures/ruby/relational-operator.diffB-A.txt new file mode 100644 index 000000000..e923fef27 --- /dev/null +++ b/test/fixtures/ruby/relational-operator.diffB-A.txt @@ -0,0 +1,26 @@ +(Program +{ (Binary + (Identifier) + (Other "<=>") + (Identifier)) +->(Binary + (Identifier) + (Other "==") + (Identifier)) } +{ (Binary + (Identifier) + (Other "=~") + (Identifier)) +->(Binary + (Identifier) + (Other "!=") + (Identifier)) } +{+(Binary + (Identifier) + (Other "===") + (Identifier))+} +{-(Assignment + (Identifier) + (Unary + (Other "!") + (Identifier)))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/relational-operator.parseA.txt b/test/fixtures/ruby/relational-operator.parseA.txt new file mode 100644 index 000000000..1248039b2 --- /dev/null +++ b/test/fixtures/ruby/relational-operator.parseA.txt @@ -0,0 +1,13 @@ +(Program + (Binary + (Identifier) + (Other "==") + (Identifier)) + (Binary + (Identifier) + (Other "!=") + (Identifier)) + (Binary + (Identifier) + (Other "===") + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/relational-operator.parseB.txt b/test/fixtures/ruby/relational-operator.parseB.txt new file mode 100644 index 000000000..ebc73d951 --- /dev/null +++ b/test/fixtures/ruby/relational-operator.parseB.txt @@ -0,0 +1,14 @@ +(Program + (Binary + (Identifier) + (Other "<=>") + (Identifier)) + (Binary + (Identifier) + (Other "=~") + (Identifier)) + (Assignment + (Identifier) + (Unary + (Other "!") + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-empty.A.rb b/test/fixtures/ruby/rescue-empty.A.rb new file mode 100644 index 000000000..e175a3598 --- /dev/null +++ b/test/fixtures/ruby/rescue-empty.A.rb @@ -0,0 +1,4 @@ +begin + foo +rescue +end \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-empty.B.rb b/test/fixtures/ruby/rescue-empty.B.rb new file mode 100644 index 000000000..188916c17 --- /dev/null +++ b/test/fixtures/ruby/rescue-empty.B.rb @@ -0,0 +1,5 @@ +begin + foo +rescue + bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-empty.diffA-B.txt b/test/fixtures/ruby/rescue-empty.diffA-B.txt new file mode 100644 index 000000000..30dd99353 --- /dev/null +++ b/test/fixtures/ruby/rescue-empty.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (Begin + (Identifier) + (Rescue + {+(Identifier)+}))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-empty.diffB-A.txt b/test/fixtures/ruby/rescue-empty.diffB-A.txt new file mode 100644 index 000000000..5bce3306b --- /dev/null +++ b/test/fixtures/ruby/rescue-empty.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (Begin + (Identifier) + (Rescue + {-(Identifier)-}))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-empty.parseA.txt b/test/fixtures/ruby/rescue-empty.parseA.txt new file mode 100644 index 000000000..f66b99acf --- /dev/null +++ b/test/fixtures/ruby/rescue-empty.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Begin + (Identifier) + (Rescue))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-empty.parseB.txt b/test/fixtures/ruby/rescue-empty.parseB.txt new file mode 100644 index 000000000..d359b94fb --- /dev/null +++ b/test/fixtures/ruby/rescue-empty.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Begin + (Identifier) + (Rescue + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-last-ex.A.rb b/test/fixtures/ruby/rescue-last-ex.A.rb new file mode 100644 index 000000000..6604e37f4 --- /dev/null +++ b/test/fixtures/ruby/rescue-last-ex.A.rb @@ -0,0 +1,4 @@ +begin + foo +rescue Error => x +end \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-last-ex.B.rb b/test/fixtures/ruby/rescue-last-ex.B.rb new file mode 100644 index 000000000..de9d7e7bd --- /dev/null +++ b/test/fixtures/ruby/rescue-last-ex.B.rb @@ -0,0 +1,5 @@ +begin + foo +rescue Error => x + bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-last-ex.diffA-B.txt b/test/fixtures/ruby/rescue-last-ex.diffA-B.txt new file mode 100644 index 000000000..91e85f47d --- /dev/null +++ b/test/fixtures/ruby/rescue-last-ex.diffA-B.txt @@ -0,0 +1,8 @@ +(Program + (Begin + (Identifier) + (Rescue + (Constant) + (RescuedException + (Identifier)) + {+(Identifier)+}))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-last-ex.diffB-A.txt b/test/fixtures/ruby/rescue-last-ex.diffB-A.txt new file mode 100644 index 000000000..a7173243c --- /dev/null +++ b/test/fixtures/ruby/rescue-last-ex.diffB-A.txt @@ -0,0 +1,8 @@ +(Program + (Begin + (Identifier) + (Rescue + (Constant) + (RescuedException + (Identifier)) + {-(Identifier)-}))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-last-ex.parseA.txt b/test/fixtures/ruby/rescue-last-ex.parseA.txt new file mode 100644 index 000000000..09399128f --- /dev/null +++ b/test/fixtures/ruby/rescue-last-ex.parseA.txt @@ -0,0 +1,7 @@ +(Program + (Begin + (Identifier) + (Rescue + (Constant) + (RescuedException + (Identifier))))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-last-ex.parseB.txt b/test/fixtures/ruby/rescue-last-ex.parseB.txt new file mode 100644 index 000000000..f4706f1f0 --- /dev/null +++ b/test/fixtures/ruby/rescue-last-ex.parseB.txt @@ -0,0 +1,8 @@ +(Program + (Begin + (Identifier) + (Rescue + (Constant) + (RescuedException + (Identifier)) + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier.A.rb b/test/fixtures/ruby/rescue-modifier.A.rb new file mode 100644 index 000000000..00420b20a --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier.A.rb @@ -0,0 +1 @@ +foo rescue nil \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier.B.rb b/test/fixtures/ruby/rescue-modifier.B.rb new file mode 100644 index 000000000..2360195b4 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier.B.rb @@ -0,0 +1 @@ +foo rescue false \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier.diffA-B.txt b/test/fixtures/ruby/rescue-modifier.diffA-B.txt new file mode 100644 index 000000000..275d172bd --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier.diffA-B.txt @@ -0,0 +1,7 @@ +(Program +{ (Modifier Rescue + (Identifier) + (Identifier)) +->(Modifier Rescue + (Identifier) + (Boolean)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier.diffB-A.txt b/test/fixtures/ruby/rescue-modifier.diffB-A.txt new file mode 100644 index 000000000..fc037c866 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier.diffB-A.txt @@ -0,0 +1,7 @@ +(Program +{ (Modifier Rescue + (Identifier) + (Boolean)) +->(Modifier Rescue + (Identifier) + (Identifier)) }) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier.parseA.txt b/test/fixtures/ruby/rescue-modifier.parseA.txt new file mode 100644 index 000000000..671394383 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Modifier Rescue + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier.parseB.txt b/test/fixtures/ruby/rescue-modifier.parseB.txt new file mode 100644 index 000000000..fd3172319 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier.parseB.txt @@ -0,0 +1,4 @@ +(Program + (Modifier Rescue + (Identifier) + (Boolean))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier2.A.rb b/test/fixtures/ruby/rescue-modifier2.A.rb new file mode 100644 index 000000000..00420b20a --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier2.A.rb @@ -0,0 +1 @@ +foo rescue nil \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier2.B.rb b/test/fixtures/ruby/rescue-modifier2.B.rb new file mode 100644 index 000000000..afe1ffd3e --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier2.B.rb @@ -0,0 +1 @@ +bar rescue nil \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier2.diffA-B.txt b/test/fixtures/ruby/rescue-modifier2.diffA-B.txt new file mode 100644 index 000000000..9d565e2f4 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier2.diffA-B.txt @@ -0,0 +1,5 @@ +(Program + (Modifier Rescue + { (Identifier) + ->(Identifier) } + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier2.diffB-A.txt b/test/fixtures/ruby/rescue-modifier2.diffB-A.txt new file mode 100644 index 000000000..9d565e2f4 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier2.diffB-A.txt @@ -0,0 +1,5 @@ +(Program + (Modifier Rescue + { (Identifier) + ->(Identifier) } + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier2.parseA.txt b/test/fixtures/ruby/rescue-modifier2.parseA.txt new file mode 100644 index 000000000..671394383 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier2.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Modifier Rescue + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue-modifier2.parseB.txt b/test/fixtures/ruby/rescue-modifier2.parseB.txt new file mode 100644 index 000000000..671394383 --- /dev/null +++ b/test/fixtures/ruby/rescue-modifier2.parseB.txt @@ -0,0 +1,4 @@ +(Program + (Modifier Rescue + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue.A.rb b/test/fixtures/ruby/rescue.A.rb new file mode 100644 index 000000000..f36912351 --- /dev/null +++ b/test/fixtures/ruby/rescue.A.rb @@ -0,0 +1,4 @@ +begin + foo +rescue x +end \ No newline at end of file diff --git a/test/fixtures/ruby/rescue.B.rb b/test/fixtures/ruby/rescue.B.rb new file mode 100644 index 000000000..86bfaaeaf --- /dev/null +++ b/test/fixtures/ruby/rescue.B.rb @@ -0,0 +1,5 @@ +begin + foo +rescue x + bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/rescue.diffA-B.txt b/test/fixtures/ruby/rescue.diffA-B.txt new file mode 100644 index 000000000..ce465dbd1 --- /dev/null +++ b/test/fixtures/ruby/rescue.diffA-B.txt @@ -0,0 +1,6 @@ +(Program + (Begin + (Identifier) + (Rescue + (Identifier) + {+(Identifier)+}))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue.diffB-A.txt b/test/fixtures/ruby/rescue.diffB-A.txt new file mode 100644 index 000000000..c5dd45c03 --- /dev/null +++ b/test/fixtures/ruby/rescue.diffB-A.txt @@ -0,0 +1,6 @@ +(Program + (Begin + (Identifier) + (Rescue + (Identifier) + {-(Identifier)-}))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue.parseA.txt b/test/fixtures/ruby/rescue.parseA.txt new file mode 100644 index 000000000..d359b94fb --- /dev/null +++ b/test/fixtures/ruby/rescue.parseA.txt @@ -0,0 +1,5 @@ +(Program + (Begin + (Identifier) + (Rescue + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/rescue.parseB.txt b/test/fixtures/ruby/rescue.parseB.txt new file mode 100644 index 000000000..5cb6d1542 --- /dev/null +++ b/test/fixtures/ruby/rescue.parseB.txt @@ -0,0 +1,6 @@ +(Program + (Begin + (Identifier) + (Rescue + (Identifier) + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/return.A.rb b/test/fixtures/ruby/return.A.rb new file mode 100644 index 000000000..11bae19fa --- /dev/null +++ b/test/fixtures/ruby/return.A.rb @@ -0,0 +1 @@ +return foo \ No newline at end of file diff --git a/test/fixtures/ruby/return.B.rb b/test/fixtures/ruby/return.B.rb new file mode 100644 index 000000000..55b1f0f4f --- /dev/null +++ b/test/fixtures/ruby/return.B.rb @@ -0,0 +1 @@ +return \ No newline at end of file diff --git a/test/fixtures/ruby/return.diffA-B.txt b/test/fixtures/ruby/return.diffA-B.txt new file mode 100644 index 000000000..e7ec0e643 --- /dev/null +++ b/test/fixtures/ruby/return.diffA-B.txt @@ -0,0 +1,4 @@ +(Program + (Return + {-(Args + (Identifier))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/return.diffB-A.txt b/test/fixtures/ruby/return.diffB-A.txt new file mode 100644 index 000000000..b0e43649f --- /dev/null +++ b/test/fixtures/ruby/return.diffB-A.txt @@ -0,0 +1,4 @@ +(Program + (Return + {+(Args + (Identifier))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/return.parseA.txt b/test/fixtures/ruby/return.parseA.txt new file mode 100644 index 000000000..1427ed1a2 --- /dev/null +++ b/test/fixtures/ruby/return.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Return + (Args + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/return.parseB.txt b/test/fixtures/ruby/return.parseB.txt new file mode 100644 index 000000000..9bed703f3 --- /dev/null +++ b/test/fixtures/ruby/return.parseB.txt @@ -0,0 +1,2 @@ +(Program + (Return)) \ No newline at end of file diff --git a/test/fixtures/ruby/string.A.rb b/test/fixtures/ruby/string.A.rb new file mode 100644 index 000000000..2958f069b --- /dev/null +++ b/test/fixtures/ruby/string.A.rb @@ -0,0 +1,2 @@ +'' +'foo with "bar"' \ No newline at end of file diff --git a/test/fixtures/ruby/string.B.rb b/test/fixtures/ruby/string.B.rb new file mode 100644 index 000000000..7307f99ab --- /dev/null +++ b/test/fixtures/ruby/string.B.rb @@ -0,0 +1,2 @@ +"" +"bar with 'foo'" \ No newline at end of file diff --git a/test/fixtures/ruby/string.diffA-B.txt b/test/fixtures/ruby/string.diffA-B.txt new file mode 100644 index 000000000..19fb7aa83 --- /dev/null +++ b/test/fixtures/ruby/string.diffA-B.txt @@ -0,0 +1,5 @@ +(Program +{ (StringLiteral) +->(StringLiteral) } +{ (StringLiteral) +->(StringLiteral) }) \ No newline at end of file diff --git a/test/fixtures/ruby/string.diffB-A.txt b/test/fixtures/ruby/string.diffB-A.txt new file mode 100644 index 000000000..19fb7aa83 --- /dev/null +++ b/test/fixtures/ruby/string.diffB-A.txt @@ -0,0 +1,5 @@ +(Program +{ (StringLiteral) +->(StringLiteral) } +{ (StringLiteral) +->(StringLiteral) }) \ No newline at end of file diff --git a/test/fixtures/ruby/string.parseA.txt b/test/fixtures/ruby/string.parseA.txt new file mode 100644 index 000000000..231b291a7 --- /dev/null +++ b/test/fixtures/ruby/string.parseA.txt @@ -0,0 +1,3 @@ +(Program + (StringLiteral) + (StringLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/string.parseB.txt b/test/fixtures/ruby/string.parseB.txt new file mode 100644 index 000000000..231b291a7 --- /dev/null +++ b/test/fixtures/ruby/string.parseB.txt @@ -0,0 +1,3 @@ +(Program + (StringLiteral) + (StringLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/subshell.A.rb b/test/fixtures/ruby/subshell.A.rb new file mode 100644 index 000000000..1c5099f3a --- /dev/null +++ b/test/fixtures/ruby/subshell.A.rb @@ -0,0 +1 @@ +`ls -la` \ No newline at end of file diff --git a/test/fixtures/ruby/subshell.B.rb b/test/fixtures/ruby/subshell.B.rb new file mode 100644 index 000000000..cd3d180c8 --- /dev/null +++ b/test/fixtures/ruby/subshell.B.rb @@ -0,0 +1 @@ +`git status` \ No newline at end of file diff --git a/test/fixtures/ruby/subshell.diffA-B.txt b/test/fixtures/ruby/subshell.diffA-B.txt new file mode 100644 index 000000000..c58ab433f --- /dev/null +++ b/test/fixtures/ruby/subshell.diffA-B.txt @@ -0,0 +1,3 @@ +(Program +{ (Subshell) +->(Subshell) }) \ No newline at end of file diff --git a/test/fixtures/ruby/subshell.diffB-A.txt b/test/fixtures/ruby/subshell.diffB-A.txt new file mode 100644 index 000000000..c58ab433f --- /dev/null +++ b/test/fixtures/ruby/subshell.diffB-A.txt @@ -0,0 +1,3 @@ +(Program +{ (Subshell) +->(Subshell) }) \ No newline at end of file diff --git a/test/fixtures/ruby/subshell.parseA.txt b/test/fixtures/ruby/subshell.parseA.txt new file mode 100644 index 000000000..f346a9224 --- /dev/null +++ b/test/fixtures/ruby/subshell.parseA.txt @@ -0,0 +1,2 @@ +(Program + (Subshell)) \ No newline at end of file diff --git a/test/fixtures/ruby/subshell.parseB.txt b/test/fixtures/ruby/subshell.parseB.txt new file mode 100644 index 000000000..f346a9224 --- /dev/null +++ b/test/fixtures/ruby/subshell.parseB.txt @@ -0,0 +1,2 @@ +(Program + (Subshell)) \ No newline at end of file diff --git a/test/fixtures/ruby/symbol.A.rb b/test/fixtures/ruby/symbol.A.rb new file mode 100644 index 000000000..b6fe38f77 --- /dev/null +++ b/test/fixtures/ruby/symbol.A.rb @@ -0,0 +1,3 @@ +:foo +:'foo' +:"foo" \ No newline at end of file diff --git a/test/fixtures/ruby/symbol.B.rb b/test/fixtures/ruby/symbol.B.rb new file mode 100644 index 000000000..95a250a32 --- /dev/null +++ b/test/fixtures/ruby/symbol.B.rb @@ -0,0 +1,3 @@ +:bar +:'bar' +:"bar" \ No newline at end of file diff --git a/test/fixtures/ruby/symbol.diffA-B.txt b/test/fixtures/ruby/symbol.diffA-B.txt new file mode 100644 index 000000000..6187460c3 --- /dev/null +++ b/test/fixtures/ruby/symbol.diffA-B.txt @@ -0,0 +1,7 @@ +(Program +{+(SymbolLiteral)+} +{ (SymbolLiteral) +->(SymbolLiteral) } +{ (SymbolLiteral) +->(SymbolLiteral) } +{-(SymbolLiteral)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/symbol.diffB-A.txt b/test/fixtures/ruby/symbol.diffB-A.txt new file mode 100644 index 000000000..6187460c3 --- /dev/null +++ b/test/fixtures/ruby/symbol.diffB-A.txt @@ -0,0 +1,7 @@ +(Program +{+(SymbolLiteral)+} +{ (SymbolLiteral) +->(SymbolLiteral) } +{ (SymbolLiteral) +->(SymbolLiteral) } +{-(SymbolLiteral)-}) \ No newline at end of file diff --git a/test/fixtures/ruby/symbol.parseA.txt b/test/fixtures/ruby/symbol.parseA.txt new file mode 100644 index 000000000..61ff32b3f --- /dev/null +++ b/test/fixtures/ruby/symbol.parseA.txt @@ -0,0 +1,4 @@ +(Program + (SymbolLiteral) + (SymbolLiteral) + (SymbolLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/symbol.parseB.txt b/test/fixtures/ruby/symbol.parseB.txt new file mode 100644 index 000000000..61ff32b3f --- /dev/null +++ b/test/fixtures/ruby/symbol.parseB.txt @@ -0,0 +1,4 @@ +(Program + (SymbolLiteral) + (SymbolLiteral) + (SymbolLiteral)) \ No newline at end of file diff --git a/test/fixtures/ruby/ternary.A.rb b/test/fixtures/ruby/ternary.A.rb new file mode 100644 index 000000000..019c15f18 --- /dev/null +++ b/test/fixtures/ruby/ternary.A.rb @@ -0,0 +1 @@ +foo ? case1 : case2 \ No newline at end of file diff --git a/test/fixtures/ruby/ternary.B.rb b/test/fixtures/ruby/ternary.B.rb new file mode 100644 index 000000000..84eee846e --- /dev/null +++ b/test/fixtures/ruby/ternary.B.rb @@ -0,0 +1 @@ +bar ? a : b \ No newline at end of file diff --git a/test/fixtures/ruby/ternary.diffA-B.txt b/test/fixtures/ruby/ternary.diffA-B.txt new file mode 100644 index 000000000..76205d1c1 --- /dev/null +++ b/test/fixtures/ruby/ternary.diffA-B.txt @@ -0,0 +1,8 @@ +(Program + (Ternary + { (Identifier) + ->(Identifier) } + { (Identifier) + ->(Identifier) } + { (Identifier) + ->(Identifier) })) \ No newline at end of file diff --git a/test/fixtures/ruby/ternary.diffB-A.txt b/test/fixtures/ruby/ternary.diffB-A.txt new file mode 100644 index 000000000..76205d1c1 --- /dev/null +++ b/test/fixtures/ruby/ternary.diffB-A.txt @@ -0,0 +1,8 @@ +(Program + (Ternary + { (Identifier) + ->(Identifier) } + { (Identifier) + ->(Identifier) } + { (Identifier) + ->(Identifier) })) \ No newline at end of file diff --git a/test/fixtures/ruby/ternary.parseA.txt b/test/fixtures/ruby/ternary.parseA.txt new file mode 100644 index 000000000..93ba36952 --- /dev/null +++ b/test/fixtures/ruby/ternary.parseA.txt @@ -0,0 +1,5 @@ +(Program + (Ternary + (Identifier) + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/ternary.parseB.txt b/test/fixtures/ruby/ternary.parseB.txt new file mode 100644 index 000000000..93ba36952 --- /dev/null +++ b/test/fixtures/ruby/ternary.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Ternary + (Identifier) + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/unless.A.rb b/test/fixtures/ruby/unless.A.rb new file mode 100644 index 000000000..4a435a711 --- /dev/null +++ b/test/fixtures/ruby/unless.A.rb @@ -0,0 +1,5 @@ +unless foo + bar +else + bat +end \ No newline at end of file diff --git a/test/fixtures/ruby/unless.B.rb b/test/fixtures/ruby/unless.B.rb new file mode 100644 index 000000000..07c8d9e43 --- /dev/null +++ b/test/fixtures/ruby/unless.B.rb @@ -0,0 +1,4 @@ +unless x +end +unless y then +end \ No newline at end of file diff --git a/test/fixtures/ruby/unless.diffA-B.txt b/test/fixtures/ruby/unless.diffA-B.txt new file mode 100644 index 000000000..2398e57ec --- /dev/null +++ b/test/fixtures/ruby/unless.diffA-B.txt @@ -0,0 +1,11 @@ +(Program + (Unless + (Negate + { (Identifier) + ->(Identifier) }) + {-(Identifier)-} + {-(Else + (Identifier))-}) +{+(Unless + (Negate + (Identifier)))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/unless.diffB-A.txt b/test/fixtures/ruby/unless.diffB-A.txt new file mode 100644 index 000000000..4fa2b157c --- /dev/null +++ b/test/fixtures/ruby/unless.diffB-A.txt @@ -0,0 +1,11 @@ +(Program + (Unless + (Negate + { (Identifier) + ->(Identifier) }) + {+(Identifier)+} + {+(Else + (Identifier))+}) +{-(Unless + (Negate + (Identifier)))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/unless.parseA.txt b/test/fixtures/ruby/unless.parseA.txt new file mode 100644 index 000000000..9b4f5db30 --- /dev/null +++ b/test/fixtures/ruby/unless.parseA.txt @@ -0,0 +1,7 @@ +(Program + (Unless + (Negate + (Identifier)) + (Identifier) + (Else + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/unless.parseB.txt b/test/fixtures/ruby/unless.parseB.txt new file mode 100644 index 000000000..fb1c808b1 --- /dev/null +++ b/test/fixtures/ruby/unless.parseB.txt @@ -0,0 +1,7 @@ +(Program + (Unless + (Negate + (Identifier))) + (Unless + (Negate + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/until.A.rb b/test/fixtures/ruby/until.A.rb new file mode 100644 index 000000000..d02472773 --- /dev/null +++ b/test/fixtures/ruby/until.A.rb @@ -0,0 +1,3 @@ +until foo do +end +foo until done \ No newline at end of file diff --git a/test/fixtures/ruby/until.B.rb b/test/fixtures/ruby/until.B.rb new file mode 100644 index 000000000..a0772e3b2 --- /dev/null +++ b/test/fixtures/ruby/until.B.rb @@ -0,0 +1,3 @@ +until foo + bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/until.diffA-B.txt b/test/fixtures/ruby/until.diffA-B.txt new file mode 100644 index 000000000..46d61429b --- /dev/null +++ b/test/fixtures/ruby/until.diffA-B.txt @@ -0,0 +1,9 @@ +(Program + (Until + (Negate + (Identifier)) + {+(Identifier)+}) +{-(Modifier Until + (Negate + (Identifier)) + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/until.diffB-A.txt b/test/fixtures/ruby/until.diffB-A.txt new file mode 100644 index 000000000..9fd18459c --- /dev/null +++ b/test/fixtures/ruby/until.diffB-A.txt @@ -0,0 +1,9 @@ +(Program + (Until + (Negate + (Identifier)) + {-(Identifier)-}) +{+(Modifier Until + (Negate + (Identifier)) + (Identifier))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/until.parseA.txt b/test/fixtures/ruby/until.parseA.txt new file mode 100644 index 000000000..32d593695 --- /dev/null +++ b/test/fixtures/ruby/until.parseA.txt @@ -0,0 +1,8 @@ +(Program + (Until + (Negate + (Identifier))) + (Modifier Until + (Negate + (Identifier)) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/until.parseB.txt b/test/fixtures/ruby/until.parseB.txt new file mode 100644 index 000000000..e5f288162 --- /dev/null +++ b/test/fixtures/ruby/until.parseB.txt @@ -0,0 +1,5 @@ +(Program + (Until + (Negate + (Identifier)) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/when-else.A.rb b/test/fixtures/ruby/when-else.A.rb new file mode 100644 index 000000000..f17537e1a --- /dev/null +++ b/test/fixtures/ruby/when-else.A.rb @@ -0,0 +1,5 @@ +case foo +when bar + baz +else +end \ No newline at end of file diff --git a/test/fixtures/ruby/when-else.B.rb b/test/fixtures/ruby/when-else.B.rb new file mode 100644 index 000000000..d4125dfeb --- /dev/null +++ b/test/fixtures/ruby/when-else.B.rb @@ -0,0 +1,6 @@ +case foo +when bar + baz +else + qoz +end \ No newline at end of file diff --git a/test/fixtures/ruby/when-else.diffA-B.txt b/test/fixtures/ruby/when-else.diffA-B.txt new file mode 100644 index 000000000..c955e5db9 --- /dev/null +++ b/test/fixtures/ruby/when-else.diffA-B.txt @@ -0,0 +1,10 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + (Identifier) + { (Else) + ->(Else + (Identifier)) }))) \ No newline at end of file diff --git a/test/fixtures/ruby/when-else.diffB-A.txt b/test/fixtures/ruby/when-else.diffB-A.txt new file mode 100644 index 000000000..54ac59a06 --- /dev/null +++ b/test/fixtures/ruby/when-else.diffB-A.txt @@ -0,0 +1,10 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + (Identifier) + { (Else + (Identifier)) + ->(Else) }))) \ No newline at end of file diff --git a/test/fixtures/ruby/when-else.parseA.txt b/test/fixtures/ruby/when-else.parseA.txt new file mode 100644 index 000000000..2f8fea3fc --- /dev/null +++ b/test/fixtures/ruby/when-else.parseA.txt @@ -0,0 +1,8 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + (Identifier) + (Else)))) \ No newline at end of file diff --git a/test/fixtures/ruby/when-else.parseB.txt b/test/fixtures/ruby/when-else.parseB.txt new file mode 100644 index 000000000..0bb34b5af --- /dev/null +++ b/test/fixtures/ruby/when-else.parseB.txt @@ -0,0 +1,9 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + (Identifier) + (Else + (Identifier))))) \ No newline at end of file diff --git a/test/fixtures/ruby/when.A.rb b/test/fixtures/ruby/when.A.rb new file mode 100644 index 000000000..5046781a7 --- /dev/null +++ b/test/fixtures/ruby/when.A.rb @@ -0,0 +1,3 @@ +case foo +when bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/when.B.rb b/test/fixtures/ruby/when.B.rb new file mode 100644 index 000000000..f72ad8adc --- /dev/null +++ b/test/fixtures/ruby/when.B.rb @@ -0,0 +1,4 @@ +case foo +when bar + baz +end \ No newline at end of file diff --git a/test/fixtures/ruby/when.diffA-B.txt b/test/fixtures/ruby/when.diffA-B.txt new file mode 100644 index 000000000..23bc2e914 --- /dev/null +++ b/test/fixtures/ruby/when.diffA-B.txt @@ -0,0 +1,7 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + {+(Identifier)+}))) \ No newline at end of file diff --git a/test/fixtures/ruby/when.diffB-A.txt b/test/fixtures/ruby/when.diffB-A.txt new file mode 100644 index 000000000..17c722ba7 --- /dev/null +++ b/test/fixtures/ruby/when.diffB-A.txt @@ -0,0 +1,7 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + {-(Identifier)-}))) \ No newline at end of file diff --git a/test/fixtures/ruby/when.parseA.txt b/test/fixtures/ruby/when.parseA.txt new file mode 100644 index 000000000..41044b0bc --- /dev/null +++ b/test/fixtures/ruby/when.parseA.txt @@ -0,0 +1,6 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier))))) \ No newline at end of file diff --git a/test/fixtures/ruby/when.parseB.txt b/test/fixtures/ruby/when.parseB.txt new file mode 100644 index 000000000..f9ee90cec --- /dev/null +++ b/test/fixtures/ruby/when.parseB.txt @@ -0,0 +1,7 @@ +(Program + (Case + (Identifier) + (When + (Other "pattern" + (Identifier)) + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/while.A.rb b/test/fixtures/ruby/while.A.rb new file mode 100644 index 000000000..6753fd6cc --- /dev/null +++ b/test/fixtures/ruby/while.A.rb @@ -0,0 +1,3 @@ +while foo do +end +foo while run \ No newline at end of file diff --git a/test/fixtures/ruby/while.B.rb b/test/fixtures/ruby/while.B.rb new file mode 100644 index 000000000..245a92cc7 --- /dev/null +++ b/test/fixtures/ruby/while.B.rb @@ -0,0 +1,3 @@ +while foo + bar +end \ No newline at end of file diff --git a/test/fixtures/ruby/while.diffA-B.txt b/test/fixtures/ruby/while.diffA-B.txt new file mode 100644 index 000000000..5dee7cb72 --- /dev/null +++ b/test/fixtures/ruby/while.diffA-B.txt @@ -0,0 +1,7 @@ +(Program + (While + (Identifier) + {+(Identifier)+}) +{-(Modifier While + (Identifier) + (Identifier))-}) \ No newline at end of file diff --git a/test/fixtures/ruby/while.diffB-A.txt b/test/fixtures/ruby/while.diffB-A.txt new file mode 100644 index 000000000..bec392a03 --- /dev/null +++ b/test/fixtures/ruby/while.diffB-A.txt @@ -0,0 +1,7 @@ +(Program + (While + (Identifier) + {-(Identifier)-}) +{+(Modifier While + (Identifier) + (Identifier))+}) \ No newline at end of file diff --git a/test/fixtures/ruby/while.parseA.txt b/test/fixtures/ruby/while.parseA.txt new file mode 100644 index 000000000..a93f3fec9 --- /dev/null +++ b/test/fixtures/ruby/while.parseA.txt @@ -0,0 +1,6 @@ +(Program + (While + (Identifier)) + (Modifier While + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/while.parseB.txt b/test/fixtures/ruby/while.parseB.txt new file mode 100644 index 000000000..e9708bb34 --- /dev/null +++ b/test/fixtures/ruby/while.parseB.txt @@ -0,0 +1,4 @@ +(Program + (While + (Identifier) + (Identifier))) \ No newline at end of file diff --git a/test/fixtures/ruby/yield.A.rb b/test/fixtures/ruby/yield.A.rb new file mode 100644 index 000000000..adee7722e --- /dev/null +++ b/test/fixtures/ruby/yield.A.rb @@ -0,0 +1 @@ +yield foo \ No newline at end of file diff --git a/test/fixtures/ruby/yield.B.rb b/test/fixtures/ruby/yield.B.rb new file mode 100644 index 000000000..574f64b3a --- /dev/null +++ b/test/fixtures/ruby/yield.B.rb @@ -0,0 +1 @@ +yield \ No newline at end of file diff --git a/test/fixtures/ruby/yield.diffA-B.txt b/test/fixtures/ruby/yield.diffA-B.txt new file mode 100644 index 000000000..f699cbbf7 --- /dev/null +++ b/test/fixtures/ruby/yield.diffA-B.txt @@ -0,0 +1,4 @@ +(Program + (Yield + {-(Args + (Identifier))-})) \ No newline at end of file diff --git a/test/fixtures/ruby/yield.diffB-A.txt b/test/fixtures/ruby/yield.diffB-A.txt new file mode 100644 index 000000000..b6d3cbf31 --- /dev/null +++ b/test/fixtures/ruby/yield.diffB-A.txt @@ -0,0 +1,4 @@ +(Program + (Yield + {+(Args + (Identifier))+})) \ No newline at end of file diff --git a/test/fixtures/ruby/yield.parseA.txt b/test/fixtures/ruby/yield.parseA.txt new file mode 100644 index 000000000..e31b7542f --- /dev/null +++ b/test/fixtures/ruby/yield.parseA.txt @@ -0,0 +1,4 @@ +(Program + (Yield + (Args + (Identifier)))) \ No newline at end of file diff --git a/test/fixtures/ruby/yield.parseB.txt b/test/fixtures/ruby/yield.parseB.txt new file mode 100644 index 000000000..c1197ddd0 --- /dev/null +++ b/test/fixtures/ruby/yield.parseB.txt @@ -0,0 +1,2 @@ +(Program + (Yield)) \ No newline at end of file