diff options
author | Georg Brandl <georg@python.org> | 2021-01-17 11:14:50 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2021-01-17 11:18:00 +0100 |
commit | 7e6dbb20ce189022f1b0a058f44bd1c0b9d529a5 (patch) | |
tree | 703e02a2569c321273d78eb3ecad0be8e110d87c /tests/test_sql.py | |
parent | ff1e7567b3c67eb07b0c188f87c062bb8df39def (diff) | |
download | pygments-git-7e6dbb20ce189022f1b0a058f44bd1c0b9d529a5.tar.gz |
Do not guess MIME or SQL without reason
constant returns from analyse_text are not useful.
Diffstat (limited to 'tests/test_sql.py')
-rw-r--r-- | tests/test_sql.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_sql.py b/tests/test_sql.py index b76246e2..5a2cadb8 100644 --- a/tests/test_sql.py +++ b/tests/test_sql.py @@ -95,7 +95,6 @@ def test_can_analyze_text(): tsql_lexer = TransactSqlLexer() code_to_expected_lexer_map = { 'select `a`, `bc` from some': mysql_lexer, - 'select a, bc from some': sql_lexer, 'select [a], [bc] from some': tsql_lexer, '-- `a`, `bc`\nselect [a], [bc] from some': tsql_lexer, '-- `a`, `bc`\nselect [a], [bc] from some; go': tsql_lexer, |