mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Downgrade lexer file to 1.3.1
This commit is contained in:
@@ -21,7 +21,6 @@ class TestLexer < Test::Unit::TestCase
|
||||
def test_find_by_alias
|
||||
assert_equal Lexer['Ruby'], Lexer.find_by_alias('rb')
|
||||
assert_equal Lexer['Ruby'], Lexer.find_by_alias('ruby')
|
||||
assert_equal Lexer['Ruby'], Lexer.find_by_alias('duby')
|
||||
end
|
||||
|
||||
def test_find_all_by_alias
|
||||
@@ -40,9 +39,9 @@ class TestLexer < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_aliases
|
||||
assert_equal ['rb', 'ruby', 'duby'], Lexer['Ruby'].aliases
|
||||
assert_equal ['python', 'py'], Lexer['Python'].aliases
|
||||
assert_equal ['perl', 'pl'], Lexer['Perl'].aliases
|
||||
assert_equal ['rb', 'ruby'], Lexer['Ruby'].aliases
|
||||
assert_equal ['python', 'py'], Lexer['Python'].aliases
|
||||
assert_equal ['perl', 'pl'], Lexer['Perl'].aliases
|
||||
end
|
||||
|
||||
def test_eql
|
||||
|
||||
Reference in New Issue
Block a user