summaryrefslogtreecommitdiff
path: root/test/psych/test_emitter.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-06-19 18:34:56 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-06-19 18:34:56 +0900
commit56d545e278577b3cfb3f71905a54f85cd2fba16c (patch)
tree516ec8f85113e862755efcaba7581a15f579218b /test/psych/test_emitter.rb
parent0ecb87ce7169f945c9fce55ef3f1b9d859283a73 (diff)
downloadpsych-56d545e278577b3cfb3f71905a54f85cd2fba16c.zip
make frozen_string_literal: true
Diffstat (limited to 'test/psych/test_emitter.rb')
-rw-r--r--test/psych/test_emitter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb
index 23e68b3..52d5e9d 100644
--- a/test/psych/test_emitter.rb
+++ b/test/psych/test_emitter.rb
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# frozen_string_literal: false
+# frozen_string_literal: true
require_relative 'helper'
@@ -7,7 +7,7 @@ module Psych
class TestEmitter < TestCase
def setup
super
- @out = StringIO.new('')
+ @out = StringIO.new(''.dup)
@emitter = Psych::Emitter.new @out
end