summaryrefslogtreecommitdiff
path: root/tests/test_tnt.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2021-01-18 21:24:00 +0100
committerGeorg Brandl <georg@python.org>2021-01-18 22:08:36 +0100
commit2a3d3a7d5b9c60dedf6638d876161d9563faebcf (patch)
tree809c0b4a686db98f5954afa1944404cd9652c6b2 /tests/test_tnt.py
parentf0445be718da83541ea3401aad882f3937147263 (diff)
downloadpygments-git-examplefiles.tar.gz
Move test_examplefiles to new tests/lexers scheme.examplefiles
Diffstat (limited to 'tests/test_tnt.py')
-rw-r--r--tests/test_tnt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_tnt.py b/tests/test_tnt.py
index 0dcfef39..2af698b0 100644
--- a/tests/test_tnt.py
+++ b/tests/test_tnt.py
@@ -192,7 +192,7 @@ def test_fantasy_positive_matches(lexer, text):
"""Test statements that should be tokenized as push/pop statements."""
assert lexer.get_tokens_unprocessed(text)[0] == (0, Keyword, text[0])
-# full text is already done by examplefiles, but here's some exceptions
+# full text is already done by example.txt file, but here's some exceptions
@pytest.mark.parametrize('text', (
'0', 'a=b', 'premise',
@@ -200,4 +200,4 @@ def test_fantasy_positive_matches(lexer, text):
))
def test_no_crashing(lexer, text):
"""Test incomplete text fragments that shouldn't crash the whole lexer."""
- assert lexer.get_tokens(text) \ No newline at end of file
+ assert lexer.get_tokens(text)