diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2016-06-24 17:02:32 +0800 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2016-06-24 17:02:32 +0800 |
commit | debea6b493019ce664000cbf7deeb82387ed91c4 (patch) | |
tree | b6469089feb08c14a7b41ccb8aace6803a5db418 | |
parent | 5bee36f0cb8a5704f27e66a21ce39ddb814e31cc (diff) | |
download | psych-debea6b493019ce664000cbf7deeb82387ed91c4.tar.gz |
cherry-picking assertion from https://github.com/ruby/ruby/commit/cc0313436160b735a3d41361cb5e3eeb10fcbdad
-rw-r--r-- | test/psych/test_emitter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb index 9585e91..23e68b3 100644 --- a/test/psych/test_emitter.rb +++ b/test/psych/test_emitter.rb @@ -54,6 +54,7 @@ module Psych [[], 'foo', false], [[], ['foo'], false], [[], [nil,nil], false], + [[1,1], [[nil, "tag:TALOS"]], 0], ].each do |args| assert_raises(TypeError) do @emitter.start_document(*args) |