Added detection for the new M (aka MUMPS) language.

This commit is contained in:
Laurent Parenteau
2012-03-27 11:47:52 -04:00
parent 3b7b2020d2
commit e0190a5a6e
4 changed files with 20 additions and 0 deletions

View File

@@ -307,6 +307,7 @@ class TestBlob < Test::Unit::TestCase
assert_equal Language['Objective-C'], blob("hello.m").language
assert_equal Language['Matlab'], blob("matlab_function.m").language
assert_equal Language['Matlab'], blob("matlab_script.m").language
assert_equal Language['M'], blob("m_simple.m").language
# .r disambiguation
assert_equal Language['R'], blob("hello-r.R").language