From f006428252fbfcd3791b0cd5af0821ab20d7673b Mon Sep 17 00:00:00 2001 From: Joshua Cannon <3956745+thejcannon@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:11:35 -0500 Subject: [PATCH] fix indexes --- 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 91b104e6..cc4d7db2 100644 --- a/tests/commands/run_test.py +++ b/tests/commands/run_test.py @@ -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):