summaryrefslogtreecommitdiff
path: root/tests/test_basic_api.py
diff options
context:
space:
mode:
authorTim Baumann <tim@timbaumann.info>2013-05-19 22:32:57 +0200
committerTim Baumann <tim@timbaumann.info>2013-05-19 22:32:57 +0200
commit057a8da4c453d7507b2f879413c5de64b930391f (patch)
tree4911b52eba579a116a0c76534a91b3eb3411e539 /tests/test_basic_api.py
parent91aeb371752f8c10dda0bbc156452bcb6839bd21 (diff)
downloadpygments-057a8da4c453d7507b2f879413c5de64b930391f.tar.gz
Factored out LiterateLexer as a base class for both LiterateAgdaLexer and
LiterateHaskellLexer.
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r--tests/test_basic_api.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 00dc26f0..18ed8d64 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -92,9 +92,9 @@ def test_lexer_options():
if cls.__name__ not in (
'PythonConsoleLexer', 'RConsoleLexer', 'RubyConsoleLexer',
'SqliteConsoleLexer', 'MatlabSessionLexer', 'ErlangShellLexer',
- 'BashSessionLexer', 'LiterateHaskellLexer', 'PostgresConsoleLexer',
- 'ElixirConsoleLexer', 'JuliaConsoleLexer', 'RobotFrameworkLexer',
- 'DylanConsoleLexer', 'ShellSessionLexer'):
+ 'BashSessionLexer', 'LiterateHaskellLexer', 'LiterateAgdaLexer',
+ 'PostgresConsoleLexer', 'ElixirConsoleLexer', 'JuliaConsoleLexer',
+ 'RobotFrameworkLexer', 'DylanConsoleLexer', 'ShellSessionLexer'):
inst = cls(ensurenl=False)
ensure(inst.get_tokens('a\nb'), 'a\nb')
inst = cls(ensurenl=False, stripall=True)