Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (18 sloc) 0.274 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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
Something went wrong with that request. Please try again.