mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 09:04:41 +04:00
Tests pass on windows
This commit is contained in:
parent
56e5c4eb2d
commit
143ed94500
21 changed files with 224 additions and 109 deletions
|
|
@ -275,7 +275,9 @@ def test_stdout_write_bug_py26(
|
|||
):
|
||||
with cwd(repo_with_failing_hook):
|
||||
# Add bash hook on there again
|
||||
with io.open('.pre-commit-config.yaml', 'a+') as config_file:
|
||||
with io.open(
|
||||
'.pre-commit-config.yaml', 'a+', encoding='UTF-8',
|
||||
) as config_file:
|
||||
config_file.write(' args: ["☃"]\n')
|
||||
cmd_output('git', 'add', '.pre-commit-config.yaml')
|
||||
stage_a_file()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue