mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-03-14 20:00:39 +08:00
Update server_test.go (#292)
This commit is contained in:
parent
077953e2d7
commit
d73c60fd5e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user