update test by type

This commit is contained in:
Brandon Keepers
2013-12-10 10:29:40 -05:00
parent 2e4fbe3430
commit bc93a99864

View File

@@ -274,7 +274,7 @@ class TestLanguage < Test::Unit::TestCase
bodies.each do |body|
assert_equal([body, languages.map{|l| Language[l]}],
[body, Language.find_by_shebang(body)])
end
end
end
@@ -369,7 +369,7 @@ class TestLanguage < Test::Unit::TestCase
end
def test_by_type
assert_equal 8, Language.by_type(:prose).length
assert_equal 9, Language.by_type(:prose).length
end
def test_colorize