Permalink
Please sign in to comment.
@@ -1,11 +1,11 @@ | ||
var test = require("../").test | ||
-test("similar buffers", function (t) { | ||
- t.similar(new Buffer([3,4,243]), new Buffer([3,4,243])) | ||
+test("same buffers", function (t) { | ||
+ t.same(new Buffer([3,4,243]), new Buffer([3,4,243])) | ||
t.end() | ||
}) | ||
-test("dissimilar buffers", function (t) { | ||
- t.dissimilar(new Buffer([3,5,243]), new Buffer([3,4,243])) | ||
+test("not same buffers", function (t) { | ||
+ t.notSame(new Buffer([3,5,243]), new Buffer([3,4,243])) | ||
t.end() | ||
}) |
0 comments on commit
c972ae8