test/test_default.rb in args_parser-0.1.6 vs test/test_default.rb in args_parser-0.2.0
- old
+ new
@@ -9,14 +9,14 @@
arg :time, 'time', :default => lambda{ Time.now }
end
end
def test_default
- assert @parser[:name] == 'shokai'
+ assert_equal @parser[:name], 'shokai'
end
def test_overwrite
- assert @parser[:age] == 40
+ assert_equal @parser[:age], 40
end
def test_name
old = @parser[:time]
sleep 1