# File test/test_parse_tree.rb, line 2340 def test_parse_tree_for_string_with_newlines @processor = RawParseTree.new(true) actual = @processor.parse_tree_for_string "1 +\n nil", 'test.rb', 5 expected = [[:newline, 6, "test.rb", [:call, [:lit, 1], :+, [:array, [:nil]]]]] assert_equal expected, actual end