From 2255d8484e57d8067769a8de2e581af1371140c4 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 9 Jan 2018 08:15:27 -0800 Subject: [PATCH] Update message for unstaged config in test --- tests/commands/run_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/commands/run_test.py b/tests/commands/run_test.py index 336222d6..97c82c25 100644 --- a/tests/commands/run_test.py +++ b/tests/commands/run_test.py @@ -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(