Sha256: 7449e82e34c564895c29de0cd61e7d94e465215ddb0eeba347ffcee2c2e6ebe9

Contents?: true

Size: 271 Bytes

Versions: 9

Compression:

Stored size: 271 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

9 entries across 9 versions & 1 rubygems

Version Path
psych-1.3.4 test/psych/test_null.rb
psych-1.3.3 test/psych/test_null.rb
psych-1.3.2 test/psych/test_null.rb
psych-1.3.1 test/psych/test_null.rb
psych-1.3.0 test/psych/test_null.rb
psych-1.2.2 test/psych/test_null.rb
psych-1.2.2.rc1 test/psych/test_null.rb
psych-1.2.1 test/psych/test_null.rb
psych-1.2.0 test/psych/test_null.rb