mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
lib/q: fix dropped test error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
parent
7d9a1172ab
commit
d3f7ddfe3a
@ -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