mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Added detection for the new M (aka MUMPS) language.
This commit is contained in:
4
test/fixtures/m_simple.m
vendored
Normal file
4
test/fixtures/m_simple.m
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
fox
|
||||
; The quick brown fox jumps over the lazy dog
|
||||
write "The quick brown fox jumps over the lazy dog",!
|
||||
quit
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user