diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-12-01 19:16:42 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-12-01 19:16:42 -0800 |
commit | 3a022eda91d60c27c3d943fb759b7cc10fe00e62 (patch) | |
tree | d413d01176febbb21ceb2d225843855348387a5d /test/yaml/test_null.rb | |
parent | d4b969697f7877cf51023786ff648cfaae301203 (diff) | |
download | psych-3a022eda91d60c27c3d943fb759b7cc10fe00e62.zip |
initial omap implementation
Diffstat (limited to 'test/yaml/test_null.rb')
-rw-r--r-- | test/yaml/test_null.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/yaml/test_null.rb b/test/yaml/test_null.rb new file mode 100644 index 0000000..24c8ab1 --- /dev/null +++ b/test/yaml/test_null.rb @@ -0,0 +1,19 @@ +require 'helper' + +module YAML + ### + # Test null from YAML spec: + # http://yaml.org/type/null.html + class TestNull < Test::Unit::TestCase + def test_null_list + assert_equal [nil] * 5, YAML.load(<<-eoyml) +--- +- ~ +- null +- +- Null +- NULL + eoyml + end + end +end |