Sha256: 710ac979d24aff5750f0e703e8ae77d913eef60a8de97e64089c66b5a7f5fa8b

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

require 'psych/helper'

module Psych
  ###
  # Test null from YAML spec:
  # http://yaml.org/type/null.html
  class TestNull < TestCase
    def test_null_list
      assert_equal [nil] * 5, Psych.load(<<-eoyml)
---
- ~
- null
- 
- Null
- NULL
      eoyml
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psych-1.1.1 test/psych/test_null.rb
psych-1.1.0 test/psych/test_null.rb