Code Review
/
ric-plt
/
sdlgo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor long readRedisInfoReplyFields() function
[ric-plt/sdlgo.git]
/
internal
/
sdlgoredis
/
sdlgoredis_test.go
diff --git
a/internal/sdlgoredis/sdlgoredis_test.go
b/internal/sdlgoredis/sdlgoredis_test.go
index
112d9cc
..
7ed7d70
100644
(file)
--- a/
internal/sdlgoredis/sdlgoredis_test.go
+++ b/
internal/sdlgoredis/sdlgoredis_test.go
@@
-1273,7
+1273,7
@@
func TestInfoWithSomeStatisticsOfStandalonePrimaryRedis(t *testing.T) {
"# CPU\r\n" +
"used_cpu_sys:1775.254919\r\n" +
"# Commandstats\r\n" +
"# CPU\r\n" +
"used_cpu_sys:1775.254919\r\n" +
"# Commandstats\r\n" +
- "
#
cmdstat_role:calls=1,usec=3,usec_per_call=3.00\r\n" +
+ "cmdstat_role:calls=1,usec=3,usec_per_call=3.00\r\n" +
"# Keyspace\r\n" +
"db0:keys=4,expires=0,avg_ttl=0"
expInfo := &sdlgoredis.DbInfo{
"# Keyspace\r\n" +
"db0:keys=4,expires=0,avg_ttl=0"
expInfo := &sdlgoredis.DbInfo{