From f1cebd386a5d8147e05c7515e4b7995617d5e7d2 Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Tue, 2 Jul 2024 12:10:12 +0200 Subject: [PATCH] Update other_test.py --- test/cli/other_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/cli/other_test.py b/test/cli/other_test.py index fb4e886ab7a..c2e3a9863d7 100644 --- a/test/cli/other_test.py +++ b/test/cli/other_test.py @@ -829,8 +829,10 @@ def test_showtime_top5_file(tmpdir): for i in range(1, 5): if lines[i].startswith('valueFlowLifetime'): assert lines[i].endswith(' - 2 result(s))') - else: + elif lines[i].startswith('valueFlowEnumValue'): assert lines[i].endswith(' - 2 result(s))') + else: + assert lines[i].endswith(' result(s))') assert lines[6].startswith('Overall time:') assert stderr == ''