Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2255d84

Browse files
authored
Update message for unstaged config in test
1 parent 81df782 commit 2255d84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/commands/run_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def test_error_with_unstaged_config(
683683
):
684684
args = run_opts()
685685
ret, printed = _do_run(cap_out, modified_config_repo, args)
686-
assert b'Your .pre-commit-config.yaml is unstaged.' in printed
686+
assert b'Your pre-commit configuration is unstaged.' in printed
687687
assert ret == 1
688688

689689

@@ -695,7 +695,7 @@ def test_no_unstaged_error_with_all_files_or_files(
695695
):
696696
args = run_opts(**opts)
697697
ret, printed = _do_run(cap_out, modified_config_repo, args)
698-
assert b'Your .pre-commit-config.yaml is unstaged.' not in printed
698+
assert b'Your pre-commit configuration is unstaged.' not in printed
699699

700700

701701
def test_files_running_subdir(

0 commit comments

Comments
 (0)