summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-02-23 14:22:28 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-02-23 14:22:28 +0900
commitc14a05c0f15422e7e524d41d9da1b859e6a4dc69 (patch)
treefc570b1b6e9b6a07954e69d38a890cc31bc2e3d3 /test
parent3258e4023551aab6f407a3bce802d446f9fac290 (diff)
downloadpsych-c14a05c0f15422e7e524d41d9da1b859e6a4dc69.zip
backport workaround for JRuby
ref. https://github.com/ruby/ruby/commit/9386ecf9b6baf6fd37d97bfee025702cee411718
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_emitter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb
index 1c6b7fe..9585e91 100644
--- a/test/psych/test_emitter.rb
+++ b/test/psych/test_emitter.rb
@@ -92,6 +92,8 @@ module Psych
end
def test_resizing_tags
+ @emitter.start_stream Psych::Nodes::Stream::UTF8
+
tags = []
version = [1,1]
obj = Object.new