aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-06 23:32:26 +0800
committerEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-07 01:00:39 +0800
commitc248e5e20587d2aa092ec4d903227f65996635c0 (patch)
treef6f7dd5e0fb833158d84a36004e2b779c70c1cf3 /test.py
parente11f1704e21b517104fc0155d951772ee2c21880 (diff)
downloaddexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.tar
dexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.tar.gz
dexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.tar.bz2
dexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.tar.lz
dexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.tar.xz
dexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.tar.zst
dexon-tests-c248e5e20587d2aa092ec4d903227f65996635c0.zip
test.py, VMTests, src/VMTestsFiller, JSONSchema/: output newline at end of files when writing
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 80d94710d..1938c06c9 100755
--- a/test.py
+++ b/test.py
@@ -75,7 +75,7 @@ def writeFile(fname, fcontents):
if not os.path.exists(os.path.dirname(fname)):
os.makedirs(os.path.dirname(fname))
with open(fname, "w") as f:
- f.write(json.dumps(fcontents, indent=4, sort_keys=True))
+ f.write(json.dumps(fcontents, indent=4, sort_keys=True) + "\n")
# Functionality
# =============