aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/comments_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/comments_test.rb')
-rw-r--r--test/prism/comments_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/prism/comments_test.rb b/test/prism/comments_test.rb
index b7aadc0768..0748beb391 100644
--- a/test/prism/comments_test.rb
+++ b/test/prism/comments_test.rb
@@ -2,7 +2,7 @@
require_relative "test_helper"
-module YARP
+module Prism
class CommentsTest < TestCase
def test_comment_inline
source = "# comment"
@@ -67,7 +67,7 @@ module YARP
end # Foo end
RUBY
- result = YARP.parse(source)
+ result = Prism.parse(source)
result.attach_comments!
tree = result.value
class_node = tree.statements.body.first
@@ -92,7 +92,7 @@ module YARP
end_column: end_column
}
- result = YARP.parse(source)
+ result = Prism.parse(source)
assert result.errors.empty?, result.errors.map(&:message).join("\n")
assert_equal type, result.comments.first.type