Sync to prism rename commits

This commit is contained in:
Kevin Newton 2023-09-27 12:24:48 -04:00
parent 8ab56869a6
commit 4f73a7c2f7
99 changed files with 7870 additions and 7877 deletions

View file

@ -2,9 +2,9 @@
require_relative "test_helper"
module YARP
module Prism
class CompilerTest < TestCase
class SExpressions < YARP::Compiler
class SExpressions < Prism::Compiler
def visit_arguments_node(node)
[:arguments, super]
end
@ -24,7 +24,7 @@ module YARP
def test_compiler
expected = [:program, [[[:call, [[:integer], [:arguments, [[:integer]]]]]]]]
assert_equal expected, YARP.parse("1 + 2").value.accept(SExpressions.new)
assert_equal expected, Prism.parse("1 + 2").value.accept(SExpressions.new)
end
end
end