Skip to content
Browse files

tests

  • Loading branch information...
1 parent b845806 commit e15b56ed58ed0b305bb7f25e99b22b777b294575 andris9 committed Jun 25, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests.js
View
6 tests.js
@@ -367,7 +367,7 @@ module.exports.worker = testCase({
test_partial_data: function(test){
test.expect(4);
- var job = this.client.submitJob("partial", "test", {encoding:"number"}),
+ var job = this.client.submitJob("partial", "test", {encoding:"utf-8"}),
i = 0;
job.on("complete", function(data){
@@ -391,7 +391,7 @@ module.exports.worker = testCase({
console.log("DATA")
console.log(arguments);
console.log(i)
- test.equal(i++, data, "Function part OK");
+ test.equal(String(i++), data, "Function part OK");
});
},
@@ -428,7 +428,7 @@ module.exports.worker = testCase({
var job = this.client.submitJob("getfail","test", {encoding:"utf-8"});
job.on("complete", function(data){
- test.ok(false, "SHould not complete");
+ test.ok(false, "Should not complete");
test.done();
});

0 comments on commit e15b56e

Please sign in to comment.
Something went wrong with that request. Please try again.