Update isolate_tests to use simple quotes consistently.

The previous code had double quotes and the project uses simple quotes.
This commit is contained in:
Matías A. Ré Medina 2018-07-04 21:31:08 -03:00 committed by Alex Beregszaszi
parent 1ebeb7e588
commit 5640eba382

View File

@ -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)