From 06bf9c056e2d6223bfdb40f7cbd681ce6dc3937a Mon Sep 17 00:00:00 2001 From: AN Long Date: Wed, 12 Jun 2024 19:09:00 +0800 Subject: [PATCH] Continue fix --- tests/test_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_parser.py b/tests/test_parser.py index 1b5f42b..7c4fd7f 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -216,9 +216,9 @@ def test_e_dead_include(): assert 'Dead including' in str(excinfo.value) -def test_e_grammer_error_at_eof(): +def test_e_grammar_error_at_eof(): with pytest.raises(ThriftGrammarError) as excinfo: - load('parser-cases/e_grammer_error_at_eof.thrift') + load('parser-cases/e_grammar_error_at_eof.thrift') assert str(excinfo.value) == 'Grammar error at EOF'