test/pt_testcase.rb in ParseTree-1.6.2 vs test/pt_testcase.rb in ParseTree-1.6.3
- old
+ new
@@ -707,9 +707,15 @@
"ParseTree" => [:masgn,
[:array, [:lasgn, :a], [:lasgn, :b]],
[:array, [:vcall, :c], [:vcall, :d]]],
},
+ "masgn_iasgn" => {
+ "Ruby" => "a, @b = c, d",
+ "ParseTree" => [:masgn,
+ [:array, [:lasgn, :a], [:iasgn, :@b]],
+ [:array, [:vcall, :c], [:vcall, :d]]],
+ },
"match" => {
"Ruby" => "if /x/ then\n 1\nend",
"ParseTree" => [:if, [:match, [:lit, /x/]], [:lit, 1], nil],
},