Permalink
Browse files

same and notSame for failing buffer test

  • Loading branch information...
1 parent cc0adfb commit c972ae8e52e4a4997718810f050244d88c1394ea @substack committed May 11, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/buffer_compare.js
View
@@ -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

Please sign in to comment.