From 57e8468390cbad75fa3424fcd2de22a5884e8ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Mon, 7 Jul 2025 11:48:35 +0200 Subject: [PATCH] Test/main: don't rely on EOL RHEL 8.9 in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Hozza --- cmd/image-builder/main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/image-builder/main_test.go b/cmd/image-builder/main_test.go index a6a30a3..98260f9 100644 --- a/cmd/image-builder/main_test.go +++ b/cmd/image-builder/main_test.go @@ -45,8 +45,8 @@ func TestListImagesNoArguments(t *testing.T) { assert.NoError(t, err) // we expect at least this canary assert.Contains(t, fakeStdout.String(), "rhel-10.0 type:qcow2 arch:x86_64\n") - // output is sorted, i.e. 8.9 comes before 8.10 - assert.Regexp(t, `(?ms)rhel-8.9.*rhel-8.10`, fakeStdout.String()) + // output is sorted, i.e. 8.8 comes before 8.10 + assert.Regexp(t, `(?ms)rhel-8.8.*rhel-8.10`, fakeStdout.String()) } }