summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_parser_changelog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_parser_changelog.rb')
-rw-r--r--test/rdoc/test_rdoc_parser_changelog.rb6
1 files changed, 3 insertions, 3 deletions
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'