Permalink
Browse files

Add hiredis guard to INCR test

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
  • Loading branch information...
1 parent 405011b commit 87132e2b0351d0ac1342a41d1a3762ef59d4fb99 @brycebaril brycebaril committed with DTrejo Feb 24, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 test.js
View
@@ -127,6 +127,11 @@ tests.FLUSHDB = function () {
tests.INCR = function () {
var name = "INCR";
+ if (bclient.reply_parser.name == "hiredis") {
+ console.log("Skipping INCR buffer test with hiredis");
+ return next(name);
+ }
+
// Test incr with the maximum JavaScript number value. Since we are
// returning buffers we should get back one more as a Buffer.
bclient.set("seq", "9007199254740992", function (err, result) {

0 comments on commit 87132e2

Please sign in to comment.