assert: don't compare object `prototype` property
authorVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Wed, 28 Jan 2015 15:27:20 +0000 (18:27 +0300)
committerVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Fri, 6 Feb 2015 11:40:43 +0000 (14:40 +0300)
commite7573f9111f6b85c599ec225714d76e08ec8a4dc
tree31553bf2c374362c62d2c10ed4c404e9db7302e8
parent8d1179952aefaa0086ff5540671cfd6ff612594b
assert: don't compare object `prototype` property

All own enumerable properties are compared already. Comparing
`prototype` property specifically can cause weird behaviour.

PR-URL: https://github.com/iojs/io.js/pull/636
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
lib/assert.js
test/parallel/test-assert.js