X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/24bc807b5c781ba0f8d0582d47bde237d6748a5d..749aac72ad980bf08b04655634590b80e2fd014c:/tests/unit/bitops.tcl diff --git a/tests/unit/bitops.tcl b/tests/unit/bitops.tcl index 0e3403bf..5945d32d 100644 --- a/tests/unit/bitops.tcl +++ b/tests/unit/bitops.tcl @@ -73,6 +73,12 @@ start_server {tags {"bitops"}} { set e } {ERR*syntax*} + test {BITCOUNT regression test for github issue #582} { + r del str + r setbit foo 0 1 + r bitcount foo 0 4294967296 + } {1} + test {BITOP NOT (empty string)} { r set s "" r bitop not dest s