aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatías A. Ré Medina <aereal@gmail.com>2018-07-05 08:31:08 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-09 18:28:34 +0800
commit5640eba3827c56d1865f8643505714c4afaff1e3 (patch)
tree8e87fa9e04f18813329d6db6de4caf3bee50f1b8 /scripts
parent1ebeb7e588a95a7ef57937d26752e0fbad606d20 (diff)
downloaddexon-solidity-5640eba3827c56d1865f8643505714c4afaff1e3.tar.gz
dexon-solidity-5640eba3827c56d1865f8643505714c4afaff1e3.tar.zst
dexon-solidity-5640eba3827c56d1865f8643505714c4afaff1e3.zip
Update isolate_tests to use simple quotes consistently.
The previous code had double quotes and the project uses simple quotes.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/isolate_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/isolate_tests.py b/scripts/isolate_tests.py
index 352a2fde..1f913504 100755
--- a/scripts/isolate_tests.py
+++ b/scripts/isolate_tests.py
@@ -82,8 +82,8 @@ def extract_and_write(f, path):
if docs:
cases = extract_docs_cases(path)
else:
- if f.endswith(".sol"):
- cases = [open(path, "r").read()]
+ if f.endswith('.sol'):
+ cases = [open(path, 'r').read()]
else:
cases = extract_test_cases(path)
write_cases(cases)