From: Dan Vanderkam Date: Mon, 8 Aug 2011 15:02:02 +0000 (-0400) Subject: revert Asserts.js changes X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=21c543e127300c47ffd9d3708c10274ed9d4f129;p=dygraphs.git revert Asserts.js changes --- diff --git a/auto_tests/lib/Asserts.js b/auto_tests/lib/Asserts.js index b06ff29..b3ed441 100644 --- a/auto_tests/lib/Asserts.js +++ b/auto_tests/lib/Asserts.js @@ -178,11 +178,6 @@ function compare_(expected, actual) { return false; } - if (isNaN(expected) && isNaN(actual)) { - // This has to be special-cased because (NaN === NaN) == false. - return true; - } - var key = null; var actualLength = 0; var expectedLength = 0;