From 3a022eda91d60c27c3d943fb759b7cc10fe00e62 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 1 Dec 2009 19:16:42 -0800 Subject: initial omap implementation --- test/yaml/test_null.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/yaml/test_null.rb (limited to 'test/yaml/test_null.rb') 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 -- cgit v1.2.3