Merge pull request #16494 from alrs/q-err

lib/q: fix dropped test error
This commit is contained in:
Chenyu Zhang 2022-03-21 17:01:29 +08:00 committed by GitHub
commit 84523a2da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)