mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Case-sensitive lexer name lookup
This commit is contained in:
@@ -7,8 +7,6 @@ class TestLexer < Test::Unit::TestCase
|
||||
|
||||
def test_find_by_name
|
||||
assert_equal Lexer['Ruby'], Lexer.find_by_name('Ruby')
|
||||
assert_equal Lexer['Ruby'], Lexer.find_by_name('ruby')
|
||||
assert_equal Lexer['Ruby'], Lexer.find_by_name('RUBY')
|
||||
end
|
||||
|
||||
def test_find_all_by_name
|
||||
|
||||
Reference in New Issue
Block a user