diff --git a/tests/test_parse.py b/tests/test_parse.py index 325fdb2..19c48ff 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -342,7 +342,9 @@ assert e.error == "Found stray EndText" -# Test that we can catch a stray EndText +# Test that removing an EndText from the last available text +# pair causes some error, either from the text data being read as +# code or from the text being unterminated @given(draw_error_endtext_remove()) def test_lexer_error_endtext_remove(error_soup): (error_token, soup) = error_soup