summaryrefslogtreecommitdiff
path: root/test/prism/compiler_test.rb
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2023-09-27 12:24:48 -0400
committerKevin Newton <[email protected]>2023-09-27 13:57:38 -0400
commit4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b (patch)
tree3b6f0cedc858d46d30a28c6d03439d653884a915 /test/prism/compiler_test.rb
parent8ab56869a64fdccc094f4a83c6367fb23b72d38b (diff)
Sync to prism rename commits
Diffstat (limited to 'test/prism/compiler_test.rb')
-rw-r--r--test/prism/compiler_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/prism/compiler_test.rb b/test/prism/compiler_test.rb
index 141e183469..ed028d03d8 100644
--- a/test/prism/compiler_test.rb
+++ b/test/prism/compiler_test.rb
@@ -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