逻辑升级后,修复单元测试
This commit is contained in:
parent
6df87081a4
commit
0b570213d5
@ -33,6 +33,6 @@ func TestRedisCmd_String(t *testing.T) {
|
|||||||
Convey("redis cmd MarshalBinary", t, func() {
|
Convey("redis cmd MarshalBinary", t, func() {
|
||||||
str, err := RedisCommandSet.MarshalBinary()
|
str, err := RedisCommandSet.MarshalBinary()
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
So(string(str), ShouldEqual, `"SET"`)
|
So(string(str), ShouldEqual, `SET`)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user