| Index: impl/memory/memcache_test.go
|
| diff --git a/impl/memory/memcache_test.go b/impl/memory/memcache_test.go
|
| index bc2d0e5fed0df4e66b75d507b4e4cb4a0f57e4d6..98803676d15c13853ce0032938fb7ff8e4a6e4b7 100644
|
| --- a/impl/memory/memcache_test.go
|
| +++ b/impl/memory/memcache_test.go
|
| @@ -107,6 +107,14 @@ func TestMemcache(t *testing.T) {
|
| })
|
| })
|
|
|
| + Convey("Set (nil) is equivalent to Set([]byte{})", func() {
|
| + So(mc.Set(mc.NewItem("bob")), ShouldBeNil)
|
| +
|
| + bob, err := mc.Get("bob")
|
| + So(err, ShouldBeNil)
|
| + So(bob.Value(), ShouldResemble, []byte{})
|
| + })
|
| +
|
| Convey("Increment", func() {
|
| val, err := mc.Increment("num", 7, 2)
|
| So(err, ShouldBeNil)
|
|
|