Add tests for Perl and Turning detection

This commit is contained in:
Joshua Peek
2011-11-21 10:42:39 -06:00
parent 0b5a265644
commit e4fe1d17e7
5 changed files with 48 additions and 4 deletions

View File

@@ -281,6 +281,10 @@ class TestBlob < Test::Unit::TestCase
assert_equal Language['R'], blob("hello-r.R").language
assert_equal Language['Rebol'], blob("hello-rebol.r").language
# .t disambiguation
assert_equal Language['Perl'], blob("perl-test.t").language
assert_equal Language['Turing'], blob("turing.t").language
# ML
assert_equal Language['OCaml'], blob("Foo.ml").language
assert_equal Language['Standard ML'], blob("Foo.sig").language