fix(orm): fix failing tests (#16023)

This commit is contained in:
Aaron Craelius
2023-05-04 15:26:57 +00:00
committed by GitHub
parent 96730a5f2b
commit b0c6941deb
7 changed files with 216 additions and 78 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func TestPrefixRangeProperty(t *testing.T) {
// index, one greater at overflow and 0 from
// then on
for i, b := range start {
if i < overflowIndex { //nolint:gocritic // ifElseChain: rewrite if-else to switch statement
if i < overflowIndex {
require.Equal(t, b, end[i])
} else if i == overflowIndex {
require.Equal(t, b+1, end[i])