From 55518710865bd7258422807524403c91347519a2 Mon Sep 17 00:00:00 2001 From: hsbt Date: Mon, 27 Nov 2017 10:45:24 +0000 Subject: Merge rdoc-6.0.0.beta4 from upstream. It version applied `frozen_string_literal: true` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/test_rdoc_parser_changelog.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/rdoc/test_rdoc_parser_changelog.rb') diff --git a/test/rdoc/test_rdoc_parser_changelog.rb b/test/rdoc/test_rdoc_parser_changelog.rb index 0135d26d87..06c3ff206e 100644 --- a/test/rdoc/test_rdoc_parser_changelog.rb +++ b/test/rdoc/test_rdoc_parser_changelog.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true require 'rdoc/test_case' class TestRDocParserChangeLog < RDoc::TestCase @@ -33,7 +33,7 @@ class TestRDocParserChangeLog < RDoc::TestCase def test_continue_entry_body parser = util_parser - entry_body = ['a'] + entry_body = ['a'.dup] parser.continue_entry_body entry_body, 'b' @@ -53,7 +53,7 @@ class TestRDocParserChangeLog < RDoc::TestCase def test_continue_entry_body_function parser = util_parser - entry_body = ['file: (func1)'] + entry_body = ['file: (func1)'.dup] parser.continue_entry_body entry_body, '(func2): blah' -- cgit v1.2.3