Skip to content

Commit

Permalink
fixup! Config: Drop requirement for versions to be registered in sequ…
Browse files Browse the repository at this point in the history
…ence
  • Loading branch information
gbjk committed Dec 9, 2024
1 parent ba1a214 commit 6709cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/versions/versions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestRegisterVersion(t *testing.T) {

m.registerVersion(1, &TestVersion1{})
require.Equal(t, 3, len(m.versions), "Must leave len alone when registering out-of-sequence")
require.NotNil(t, m.versions[1], "Should put Version 1 in the correct slot")
require.NotNil(t, m.versions[1], "Must put Version 1 in the correct slot")
}

func TestLatest(t *testing.T) {
Expand Down

0 comments on commit 6709cf7

Please sign in to comment.