Test/main: don't rely on EOL RHEL 8.9 in tests
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
8d0d7106c5
commit
57e8468390
1 changed files with 2 additions and 2 deletions
|
|
@ -45,8 +45,8 @@ func TestListImagesNoArguments(t *testing.T) {
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
// we expect at least this canary
|
// we expect at least this canary
|
||||||
assert.Contains(t, fakeStdout.String(), "rhel-10.0 type:qcow2 arch:x86_64\n")
|
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
|
// output is sorted, i.e. 8.8 comes before 8.10
|
||||||
assert.Regexp(t, `(?ms)rhel-8.9.*rhel-8.10`, fakeStdout.String())
|
assert.Regexp(t, `(?ms)rhel-8.8.*rhel-8.10`, fakeStdout.String())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue