mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 16:57:06 +08:00
fix list_test.go func[TestPush] an unexpected line code made the test went wrong
merged into single commit
This commit is contained in:
@@ -80,7 +80,7 @@ func TestPush(t *testing.T) {
|
||||
args[i+1] = value
|
||||
expectedValues[size-i-1] = []byte(value)
|
||||
}
|
||||
result = execLPush(testDB, values)
|
||||
// result = execLPush(testDB, values)
|
||||
result = testDB.Exec(nil, utils.ToCmdLine2("lpush", args...))
|
||||
if intResult, _ := result.(*protocol.IntReply); intResult.Code != int64(size) {
|
||||
t.Error(fmt.Sprintf("expected %d, actually %d", size, intResult.Code))
|
||||
|
Reference in New Issue
Block a user