Skip to content

Commit c7cecf3

Browse files
copejonagullon
authored andcommitted
Apply suggestions from code review
Co-authored-by: Alejandro Gullón <agullon@redhat.com>
1 parent a72fd50 commit c7cecf3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/admin/prerun/featuregate_lock_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,14 +429,14 @@ func TestFeatureGateLockManagement_VersionChange(t *testing.T) {
429429
description: "Same version (4.21.0 -> 4.21.0) should be allowed",
430430
},
431431
{
432-
name: "version downgrade minor should fail",
432+
name: "minor version downgrade should fail",
433433
lockFileVer: versionMetadata{Major: 4, Minor: 22, Patch: 0},
434434
currentVer: versionMetadata{Major: 4, Minor: 21, Patch: 0},
435435
wantErr: true,
436436
description: "Minor version downgrade (4.22.0 -> 4.21.0) should be blocked",
437437
},
438438
{
439-
name: "version downgrade major should fail",
439+
name: "major version downgrade should fail",
440440
lockFileVer: versionMetadata{Major: 5, Minor: 0, Patch: 0},
441441
currentVer: versionMetadata{Major: 4, Minor: 21, Patch: 0},
442442
wantErr: true,

0 commit comments

Comments
 (0)