summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_tom_doc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_tom_doc.rb')
-rw-r--r--test/rdoc/test_rdoc_tom_doc.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rdoc/test_rdoc_tom_doc.rb b/test/rdoc/test_rdoc_tom_doc.rb
index 7076edfa72..15bbd9b32d 100644
--- a/test/rdoc/test_rdoc_tom_doc.rb
+++ b/test/rdoc/test_rdoc_tom_doc.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
require 'rdoc/test_case'
class TestRDocTomDoc < RDoc::TestCase
@@ -131,7 +131,7 @@ here - something
def test_parse_multiline_paragraph
text = "Public: Do some stuff\n"
- text << "On a new line\n"
+ text += "On a new line\n"
expected =
doc(
@@ -353,7 +353,7 @@ Signature
def test_tokenize_multiline_paragraph
text = "Public: Do some stuff\n"
- text << "On a new line\n"
+ text += "On a new line\n"
@td.tokenize text