diff options
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r-- | tests/test_basic_api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py index 19e1988b..d1422a5c 100644 --- a/tests/test_basic_api.py +++ b/tests/test_basic_api.py @@ -45,6 +45,8 @@ def test_lexer_classes(): result = cls.analyse_text(".abc") assert isinstance(result, float) and 0.0 <= result <= 1.0 + assert all(al.lower() == al for al in cls.aliases) + inst = cls(opt1="val1", opt2="val2") if issubclass(cls, RegexLexer): if not hasattr(cls, '_tokens'): |