Sha256: b5fb3522f012e3598d431a5af9c11a1fd0d8125e02fea14768484ede7d82f612

Contents?: true

Size: 274 Bytes

Versions: 27

Compression:

Stored size: 274 Bytes

Contents

require_relative '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

27 entries across 27 versions & 2 rubygems

Version Path
psych-2.0.17-java test/psych/test_null.rb
psych-2.0.17 test/psych/test_null.rb
psych-2.0.16-java test/psych/test_null.rb
psych-2.0.16 test/psych/test_null.rb
psych-2.0.15-java test/psych/test_null.rb
psych-2.0.15 test/psych/test_null.rb
psych-2.0.14-java test/psych/test_null.rb
psych-2.0.14 test/psych/test_null.rb
psych-shopifork-2.0.13 test/psych/test_null.rb
psych-2.0.14.pre1-java test/psych/test_null.rb
psych-2.0.13 test/psych/test_null.rb
psych-2.0.12 test/psych/test_null.rb
psych-2.0.11 test/psych/test_null.rb
psych-2.0.10 test/psych/test_null.rb
psych-2.0.9 test/psych/test_null.rb
psych-2.0.8 test/psych/test_null.rb
psych-2.0.7 test/psych/test_null.rb
psych-2.0.6 test/psych/test_null.rb
psych-shopifork-2.0.5 test/psych/test_null.rb
psych-2.0.5 test/psych/test_null.rb