Update server_test.go (#292)

This commit is contained in:
Isaac 2021-09-13 12:29:21 +08:00 committed by GitHub
parent 077953e2d7
commit d73c60fd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ func TestRawScanAfterRawPut1(t *testing.T) {
resp, err := server.RawScan(nil, scan)
assert.Nil(t, err)
assert.Equal(t, len(resp.Kvs), len(expectedKeys))
assert.Equal(t, len(expectedKeys), len(resp.Kvs))
for i, kv := range resp.Kvs {
assert.Equal(t, expectedKeys[i], kv.Key)
assert.Equal(t, append([]byte{233}, expectedKeys[i]...), kv.Value)