!99 修复 Stringx 的测试中的 warning
Merge pull request !99 from Pyroo/dao-stringx-test
This commit is contained in:
commit
953daca82c
|
@ -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)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue