infdahai commented on PR #1492:
URL:
https://github.com/apache/incubator-kvrocks/pull/1492#issuecomment-1586681496
```sh
ok github.com/apache/incubator-kvrocks/tests/gocase/unit/type/strings
45.094s
--- FAIL: TestZset (6.78s)
--- FAIL: TestZset/ZRANGE_basics_-_skiplist (0.00s)
zset_test.go:445:
Error Trace:
/Users/runner/work/incubator-kvrocks/incubator-kvrocks/tests/gocase/unit/type/zset/zset_test.go:445
Error: Not equal:
expected: []string{}
actual : []string(nil)
Diff:
--- Expected
+++ Actual
@@ -1,3 +1,2 @@
-([]string) {
-}
+([]string) <nil>
Test: TestZset/ZRANGE_basics_-_skiplist
--- FAIL: TestZset/ZRANGEBYLEX_with_LIMIT (0.00s)
zset_test.go:778:
Error Trace:
/Users/runner/work/incubator-kvrocks/incubator-kvrocks/tests/gocase/unit/type/zset/zset_test.go:778
Error: Not equal:
expected: []interface {}([]interface {}{})
actual : <nil>(<nil>)
Test: TestZset/ZRANGEBYLEX_with_LIMIT
FAIL
```
Hi, if I return the nil string in the redis server, how can I match this msg
in go-redis?
just Use Errorf("redis: nil")?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]