diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-09-27 12:24:48 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-09-27 13:57:38 -0400 |
commit | 4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b (patch) | |
tree | 3b6f0cedc858d46d30a28c6d03439d653884a915 /test/prism/heredoc_dedent_test.rb | |
parent | 8ab56869a64fdccc094f4a83c6367fb23b72d38b (diff) | |
download | ruby-4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b.tar.gz |
Sync to prism rename commits
Diffstat (limited to 'test/prism/heredoc_dedent_test.rb')
-rw-r--r-- | test/prism/heredoc_dedent_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/prism/heredoc_dedent_test.rb b/test/prism/heredoc_dedent_test.rb index 9d26febc01..1dd7e4d511 100644 --- a/test/prism/heredoc_dedent_test.rb +++ b/test/prism/heredoc_dedent_test.rb @@ -2,13 +2,13 @@ require_relative "test_helper" -module YARP +module Prism class HeredocDedentTest < TestCase filepath = File.expand_path("fixtures/tilde_heredocs.txt", __dir__) File.read(filepath).split(/(?=\n)\n(?=<)/).each_with_index do |heredoc, index| define_method "test_heredoc_#{index}" do - node = YARP.parse(heredoc).value.statements.body.first + node = Prism.parse(heredoc).value.statements.body.first if node.is_a? StringNode actual = node.unescaped else |