diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,4 +1,5 @@
 import ast
+from typing import List
 
 import asttokens
 import pytest
@@ -69,11 +70,12 @@ def first_node_with_tokens(code_str):
 
 
 @pytest.fixture
-def lines(code_str):
+def lines(code_str) -> List[str]:
     """
-    Given ``code_str`` chop it into lines as flake8 would pass to a plugin.
+    Given ``code_str`` chop it into lines as Flake8 would pass to a plugin -
+    each line includes its newline terminator.
 
     Returns:
-        list (str)
+        list
     """
-    return ['{}\n'.format(line) for line in code_str.split('\n')]
+    return code_str.splitlines(True)
diff --git a/tests/fixtures/test_lines.py b/tests/fixtures/test_lines.py
index <HASH>..<HASH> 100644
--- a/tests/fixtures/test_lines.py
+++ b/tests/fixtures/test_lines.py
@@ -12,5 +12,4 @@ def test_lines(lines):
         '\n',
         'def test():\n',
         '    pass\n',
-        '\n',
     ]
Adjust lines fixture to match Flake8: use splitlines(True)