mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 08:34:41 +04:00
fix indexes
This commit is contained in:
parent
6ce60ed606
commit
f006428252
1 changed files with 2 additions and 2 deletions
|
|
@ -1085,8 +1085,8 @@ def test_use_filesnames_file(
|
|||
cap_out, store, repo_with_passing_hook, run_opts(verbose=True),
|
||||
)
|
||||
out_lines = printed.splitlines()
|
||||
out_lines[-1] == b'Hello World'
|
||||
assert out_lines[-2].startswith(b'@') == use_filesnames_file
|
||||
assert out_lines[-2] == b'Hello World'
|
||||
assert out_lines[-3].startswith(b'@') == use_filesnames_file
|
||||
|
||||
|
||||
def test_fail_fast(cap_out, store, repo_with_failing_hook):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue