mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Update message for unstaged config in test
This commit is contained in:
parent
81df782c20
commit
2255d8484e
1 changed files with 2 additions and 2 deletions
|
|
@ -683,7 +683,7 @@ def test_error_with_unstaged_config(
|
|||
):
|
||||
args = run_opts()
|
||||
ret, printed = _do_run(cap_out, modified_config_repo, args)
|
||||
assert b'Your .pre-commit-config.yaml is unstaged.' in printed
|
||||
assert b'Your pre-commit configuration is unstaged.' in printed
|
||||
assert ret == 1
|
||||
|
||||
|
||||
|
|
@ -695,7 +695,7 @@ def test_no_unstaged_error_with_all_files_or_files(
|
|||
):
|
||||
args = run_opts(**opts)
|
||||
ret, printed = _do_run(cap_out, modified_config_repo, args)
|
||||
assert b'Your .pre-commit-config.yaml is unstaged.' not in printed
|
||||
assert b'Your pre-commit configuration is unstaged.' not in printed
|
||||
|
||||
|
||||
def test_files_running_subdir(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue