Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fictorial committed Apr 6, 2010
1 parent a5199ea commit ba34b33
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test.js
Expand Up @@ -48,11 +48,11 @@ var quiet = process.argv.indexOf("-q") != -1;
redisclient.debugMode = verbose && !quiet;

function showContext(context) {
sys.debug("");
sys.debug("########################################");
sys.debug(context + " FAILED!");
sys.debug("########################################");
sys.debug("");
sys.error("");
sys.error("########################################");
sys.error(context + " FAILED!");
sys.error("########################################");
sys.error("");
}

// These wrappers around the assert module exist because we generate functions
Expand Down Expand Up @@ -359,7 +359,7 @@ function testSETANDGETMULTIBYTE() {
}

function testINFO() {
client.info( function (err, info) {
client.info(function (err, info) {
check(info instanceof Object, "testINFO");
check(info.hasOwnProperty('redis_version'), "testINFO");
check(info.hasOwnProperty('connected_clients'), "testINFO");
Expand All @@ -375,13 +375,13 @@ function testINCR() {
}

function testINCRBY() {
client.incrby('counter', '2', expectNumber(2, "testINCRBY"))
client.incrby('counter', '-1', expectNumber(1, "testINCRBY"))
client.incrby('counter', 2, expectNumber(2, "testINCRBY"))
client.incrby('counter', -1, expectNumber(1, "testINCRBY"))
}

function testDECR() {
client.decr('counter', expectNumber(-1, "tetDECR"))
client.decr('counter', expectNumber(-2, "tetDECR"))
client.decr('counter', expectNumber(-1, "testDECR"))
client.decr('counter', expectNumber(-2, "testDECR"))
}

function testDECRBY() {
Expand Down

0 comments on commit ba34b33

Please sign in to comment.