Browse files

Should really be a == for like/unlike, not ===

  • Loading branch information...
1 parent c5f11f8 commit 61f1c0192d5a86face56e68277686fd143a967a4 @isaacs isaacs committed Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tap-assert.js
View
2 lib/tap-assert.js
@@ -239,7 +239,7 @@ function similar (a, b, message, extra, flip) {
var isObj = assert(a && typeof a === "object", message, extra)
if (!isObj.ok) {
// not an object
- if (a === b) isObj.ok = true
+ if (a == b) isObj.ok = true
if (flip) isObj.ok = !isObj.ok
return isObj
}

0 comments on commit 61f1c01

Please sign in to comment.