!99 修复 Stringx 的测试中的 warning

Merge pull request !99 from Pyroo/dao-stringx-test
This commit is contained in:
bandl 2021-11-27 11:23:49 +00:00 committed by Gitee
commit 953daca82c
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ func TestDao_GetRange(t *testing.T) {
require.NoError(t, err)
require.Equal(t, resp.Result, "abc")
resp, err = dao.GetRange(baseKey, 0, 7)
_, err = dao.GetRange(baseKey, 0, 7)
require.Error(t, err)
}