Sha256: 7de6b4327e888948dff6d59f6f555f04bf8472ecc6e31fb8999d418aff5a6bec

Contents?: true

Size: 275 Bytes

Versions: 15

Compression:

Stored size: 275 Bytes

Contents

require 'helper'

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

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
syck-1.5.1.1 test/test_null.rb
syck-1.5.1 test/test_null.rb
syck-1.5.0 test/test_null.rb
syck-1.4.1 test/test_null.rb
syck-1.4.0 test/test_null.rb
syck-1.3.0 test/test_null.rb
syck-1.2.0 test/test_null.rb
syck-1.1.0 test/test_null.rb
syck-1.0.5 test/test_null.rb
syck-1.0.4 test/test_null.rb
syck-1.0.3 test/test_null.rb
syck-1.0.1 test/test_null.rb
syck-1.0.0.4 test/test_null.rb
concordia-publishing-house-syck-1.0.0.4 test/test_null.rb
syck-1.0.0 test/test_null.rb