From 633ced379c27226b9f0dbe3731103c163d11132c Mon Sep 17 00:00:00 2001 From: holys Date: Thu, 17 Jul 2014 00:44:40 +0800 Subject: [PATCH] fix bitmap test --- server/cmd_bit_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/cmd_bit_test.go b/server/cmd_bit_test.go index 902ec10..f5438f9 100644 --- a/server/cmd_bit_test.go +++ b/server/cmd_bit_test.go @@ -163,7 +163,7 @@ func testBitOpt(t *testing.T) { if blen, err := ledis.Int( c.Do("bopt", "and", dstk, k0, k1)); err != nil { t.Fatal(err) - } else if blen != 100 { + } else if blen != 101 { t.Fatal(blen) } @@ -183,7 +183,7 @@ func testBitOpt(t *testing.T) { if blen, err := ledis.Int( c.Do("bopt", "or", dstk, k0, k1)); err != nil { t.Fatal(err) - } else if blen != 100 { + } else if blen != 101 { t.Fatal(blen) } @@ -203,7 +203,7 @@ func testBitOpt(t *testing.T) { if blen, err := ledis.Int( c.Do("bopt", "xor", dstk, k0, k1)); err != nil { t.Fatal(err) - } else if blen != 100 { + } else if blen != 101 { t.Fatal(blen) }