1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Missed pluralize nil test in [5431].

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2006-11-06 21:39:16 +00:00
parent 07c51829ab
commit 5b50504f48

View file

@ -113,6 +113,7 @@ class TextHelperTest < Test::Unit::TestCase
assert_equal("1,066 counts", pluralize('1,066', "count")) assert_equal("1,066 counts", pluralize('1,066', "count"))
assert_equal("1.25 counts", pluralize('1.25', "count")) assert_equal("1.25 counts", pluralize('1.25', "count"))
assert_equal("2 counters", pluralize(2, "count", "counters")) assert_equal("2 counters", pluralize(2, "count", "counters"))
assert_equal("0 counters", pluralize(nil, "count", "counters"))
end end
def test_auto_link_parsing def test_auto_link_parsing