diff --git a/spacy/tests/tokenizer/test_whitespace.py b/spacy/tests/tokenizer/test_whitespace.py index 74c9b369b..e32fa3efc 100644 --- a/spacy/tests/tokenizer/test_whitespace.py +++ b/spacy/tests/tokenizer/test_whitespace.py @@ -18,7 +18,7 @@ def test_tokenizer_splits_double_space(tokenizer, text): @pytest.mark.parametrize("text", ["lorem ipsum "]) -def test_tokenizer_handles_double_trainling_ws(tokenizer, text): +def test_tokenizer_handles_double_trailing_ws(tokenizer, text): tokens = tokenizer(text) assert repr(tokens.text_with_ws) == repr(text)