mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Merge pull request #16494 from alrs/q-err
lib/q: fix dropped test error
This commit is contained in:
commit
84523a2da5
@ -75,6 +75,7 @@ func TestParseRange(t *testing.T) {
|
||||
// valid value
|
||||
value = "[~2]"
|
||||
v, err = parseRange(value)
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, int64(2), v.Max.(int64))
|
||||
assert.Nil(t, v.Min)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user