summaryrefslogtreecommitdiff
path: root/test/parser_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-10-24 02:31:15 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-10-24 02:31:15 -0600
commit64f52613a90df28106bbaeec921cc0f9ad9c83ac (patch)
treecad422add66ad19ff0858ec82a189545a379a1e4 /test/parser_test.rb
parent3d0c8accb95166f786fbcf3801c679b13042523b (diff)
remove outdated workaround in test suite for JRuby heredoc bug
Diffstat (limited to 'test/parser_test.rb')
-rw-r--r--test/parser_test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/parser_test.rb b/test/parser_test.rb
index fe263fbd..b258d7d4 100644
--- a/test/parser_test.rb
+++ b/test/parser_test.rb
@@ -563,8 +563,7 @@ context 'Parser' do
end
test 'parse rev remark only' do
- # NOTE cannot use single-quoted heredoc because of https://github.com/jruby/jruby/issues/4260
- input = <<~EOS
+ input = <<~'EOS'
Joe Cool
:Must start revremark-only line with space
EOS
@@ -652,8 +651,7 @@ context 'Parser' do
\x20 end
EOS
- # NOTE cannot use single-quoted heredoc because of https://github.com/jruby/jruby/issues/4260
- expected = <<~EOS.chop
+ expected = <<~'EOS'.chop
def names
@name.split