test/test_anvl.rb in anvl-0.1.0 vs test/test_anvl.rb in anvl-0.1.1
- old
+ new
@@ -1,15 +1,15 @@
require 'helper'
class TestAnvl < Test::Unit::TestCase
def test_parse_empty
h = ANVL.parse ''
- assert_equal(h, {})
+ assert_equal(h.entries.length, 0)
end
def test_parse_comment
h = ANVL.parse '#'
- assert_equal(h, {})
+ assert_equal(h.entries.length, 0)
end
def test_first_draft
h = ANVL.parse 'entry:
# first draft