From d47e0c5386fa689735e6e4cdc117fe8a2999e987 Mon Sep 17 00:00:00 2001 From: George Katsaros Date: Mon, 22 Apr 2024 13:03:12 +0300 Subject: [PATCH] test: fix failing tests --- tests/commands/install_uninstall_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/commands/install_uninstall_test.py b/tests/commands/install_uninstall_test.py index 9eb0e741..1b79e711 100644 --- a/tests/commands/install_uninstall_test.py +++ b/tests/commands/install_uninstall_test.py @@ -143,7 +143,7 @@ FILES_CHANGED = ( NORMAL_PRE_COMMIT_RUN = re_assert.Matches( - fr'^\[INFO\] Initializing environment for .+\.\n' + fr'^\[INFO\] Initializing environment for .+\n' fr'Bash hook\.+Passed\n' fr'\[master [a-f0-9]{{7}}\] commit!\n' fr'{FILES_CHANGED}' @@ -297,7 +297,7 @@ def test_environment_not_sourced(tempdir_factory, store): FAILING_PRE_COMMIT_RUN = re_assert.Matches( - r'^\[INFO\] Initializing environment for .+\.\n' + r'^\[INFO\] Initializing environment for .+\n' r'Failing hook\.+Failed\n' r'- hook id: failing_hook\n' r'- exit code: 1\n' @@ -396,7 +396,7 @@ def test_install_with_existing_non_utf8_script(tmpdir, store): FAIL_OLD_HOOK = re_assert.Matches( r'fail!\n' - r'\[INFO\] Initializing environment for .+\.\n' + r'\[INFO\] Initializing environment for .+\n' r'Bash hook\.+Passed\n', )