summaryrefslogtreecommitdiff
path: root/test/ripper/dummyparser.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-05 07:54:32 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-05 07:54:32 +0000
commite3300dce829955390b5099c013ab4452a74ffd20 (patch)
tree15ee88b1ac001411f23f966c5c5ebbc9d02fa848 /test/ripper/dummyparser.rb
parentcd6d919373f2d0a1631b10a666d892365407821c (diff)
{ext,test}/ripper: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper/dummyparser.rb')
-rw-r--r--test/ripper/dummyparser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ripper/dummyparser.rb b/test/ripper/dummyparser.rb
index 3c196d9..05220dc 100644
--- a/test/ripper/dummyparser.rb
+++ b/test/ripper/dummyparser.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
#
# dummyparser.rb
#
@@ -186,7 +186,7 @@ class DummyParser < Ripper
end
def on_word_new
- ""
+ "".dup
end
def on_word_add(word, w)