diff options
author | Georg Brandl <georg@python.org> | 2012-02-29 22:07:23 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-29 22:07:23 +0100 |
commit | 73cd942830f374dc402517b2508e69c02c836763 (patch) | |
tree | 5b238c0730fb672ea7de8cd1affe64930db26814 /tests/test_basic_api.py | |
parent | affe89a4d6e2ca052930399ce429e9c62b40f1d5 (diff) | |
download | pygments-73cd942830f374dc402517b2508e69c02c836763.tar.gz |
Add changelog entry and fix test suite to cope with Elixir console lexer.
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r-- | tests/test_basic_api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py index e86f1579..b0fc2ce0 100644 --- a/tests/test_basic_api.py +++ b/tests/test_basic_api.py @@ -92,7 +92,8 @@ def test_lexer_options(): if cls.__name__ not in ( 'PythonConsoleLexer', 'RConsoleLexer', 'RubyConsoleLexer', 'SqliteConsoleLexer', 'MatlabSessionLexer', 'ErlangShellLexer', - 'BashSessionLexer', 'LiterateHaskellLexer', 'PostgresConsoleLexer'): + 'BashSessionLexer', 'LiterateHaskellLexer', 'PostgresConsoleLexer', + 'ElixirConsoleLexer'): inst = cls(ensurenl=False) ensure(inst.get_tokens('a\nb'), 'a\nb') inst = cls(ensurenl=False, stripall=True) |