1# frozen_string_literal: true 2require_relative 'helper' 3 4module Psych 5 ### 6 # Test null from YAML spec: 7 # http://yaml.org/type/null.html 8 class TestNull < TestCase 9 def test_null_list 10 assert_equal [nil] * 5, Psych.load(<<-eoyml) 11--- 12- ~ 13- null 14- 15- Null 16- NULL 17 eoyml 18 end 19 end 20end 21