aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_pp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pp.rb b/test/test_pp.rb
index 01a5a409b4..d0104651ea 100644
--- a/test/test_pp.rb
+++ b/test/test_pp.rb
@@ -199,7 +199,7 @@ class PPAbstractSyntaxTree < Test::Unit::TestCase
def test_literal
ast = AST.parse("1")
expected = "(SCOPE@1:0-1:1 tbl: [] args: nil body: (LIT@1:0-1:1 1))"
- assert_equal(expected, PP.singleline_pp(ast, ''.dup))
+ assert_equal(expected, PP.singleline_pp(ast, ''.dup), ast)
end
end