--- a/tests/subfiles.py Mon Jun 24 00:54:24 2019 +0300 +++ b/tests/subfiles.py Mon Jun 24 01:01:45 2019 +0300 @@ -131,7 +131,7 @@ @problem_type('moved-file-used', severity = 'hold', message = lambda moved_file, new_file: - str.format('subfile "{moved_file}" has been moved to "{new_file}"', + str.format('subfile "{moved_file}" has been moved to "{new_file}.dat"', **locals(), ), ) @@ -183,7 +183,7 @@ else: # Test for use of moved-to files import re - match = re.search(r'^\~Moved(?: to (\w+))?$', subfile.description) + match = re.search(r'^\~Moved(?: to (.+))?$', subfile.description) if match: yield report_problem( 'moved-file-used',