Commit 0bfa58aa authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend/test: Stabilise newlines

parent e6d97b35
...@@ -328,7 +328,7 @@ class TestDataMixin(object): ...@@ -328,7 +328,7 @@ class TestDataMixin(object):
) )
except AssertionError: except AssertionError:
if os.environ.get('SAVE_TEST_DATA', '0') == '1': if os.environ.get('SAVE_TEST_DATA', '0') == '1':
open(test_data_file, 'w').write(runtime_data.strip()) open(test_data_file, 'w').write(runtime_data.strip() + '\n')
raise raise
finally: finally:
self.maxDiff = maxDiff self.maxDiff = maxDiff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment