aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/files_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/files_test.py b/tests/files_test.py
index b5a390c..4254f55 100644
--- a/tests/files_test.py
+++ b/tests/files_test.py
@@ -15,7 +15,7 @@ from screenplain.main import main
source_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'files'))
-line_break_re = re.compile('\s*\n\s*')
+line_break_re = re.compile('\\s*\n\\s*')
spaces_re = re.compile('[ \t]+')
@@ -115,4 +115,5 @@ def _create_tests():
):
FileTests.add_file_case(source, expected)
+
_create_tests()