blob: e7d08dfdf3610143a34560e3b34d178fcd53ded1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'helper'
module YAML
###
# Test null from YAML spec:
# http://yaml.org/type/null.html
class TestNull < MiniTest::Unit::TestCase
def test_null_list
assert_equal [nil] * 5, YAML.load(<<-eoyml)
---
- ~
- null
-
- Null
- NULL
eoyml
end
end
end
|