summaryrefslogtreecommitdiff
path: root/test/psych/test_emitter.rb
diff options
context:
space:
mode:
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