# coding: utf8
from __future__ import unicode_literals

import pytest


@pytest.mark.parametrize('text', ["aaabbb@ccc.com\nThank you!",
                                  "aaabbb@ccc.com \nThank you!"])
def test_issue859(en_tokenizer, text):
    """Test that no extra space is added in doc.text method."""
    doc = en_tokenizer(text)
    assert doc.text == text

deb9c3184e892ead86ee246d4c42708d8a0a324b
<mask token>

<mask token>


@pytest.mark.parametrize('text', ["""aaabbb@ccc.com
Thank you!""",
    """aaabbb@ccc.com 
Thank you!"""])
def test_issue859(en_tokenizer, text):
    """Test that no extra space is added in doc.text method."""
    doc = en_tokenizer(text)
    assert doc.text == text

from __future__ import unicode_literals
import pytest


@pytest.mark.parametrize('text', ["""aaabbb@ccc.com
Thank you!""",
    """aaabbb@ccc.com 
Thank you!"""])
def test_issue859(en_tokenizer, text):
    """Test that no extra space is added in doc.text method."""
    doc = en_tokenizer(text)
    assert doc.text == text

# coding: utf8
from __future__ import unicode_literals

import pytest


@pytest.mark.parametrize('text', ["aaabbb@ccc.com\nThank you!",
                                  "aaabbb@ccc.com \nThank you!"])
def test_issue859(en_tokenizer, text):
    """Test that no extra space is added in doc.text method."""
    doc = en_tokenizer(text)
    assert doc.text == text
