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.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb
index 3738c1ac04..d7c6fff4ec 100644
--- a/test/psych/test_emitter.rb
+++ b/test/psych/test_emitter.rb
@@ -64,6 +64,7 @@ module Psych
['foo', Object.new, nil, false, true, 1],
['foo', nil, Object.new, false, true, 1],
['foo', nil, nil, false, true, :foo],
+ [nil, nil, nil, false, true, 1],
].each do |args|
assert_raises(TypeError) do
@emitter.scalar(*args)