mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
double-quote-string-fixer
This commit is contained in:
parent
4575652bd2
commit
8626e266dd
8 changed files with 27 additions and 26 deletions
|
|
@ -45,7 +45,7 @@ def test_integration_good_bad_lines(tmpdir, bad_lines, good_lines, retval):
|
|||
file_path = os.path.join(tmpdir.strpath, 'foo.yaml')
|
||||
|
||||
with open(file_path, 'w') as f:
|
||||
f.write("\n".join(bad_lines) + "\n")
|
||||
f.write('\n'.join(bad_lines) + '\n')
|
||||
|
||||
assert main([file_path]) == retval
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue