From 21c543e127300c47ffd9d3708c10274ed9d4f129 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 8 Aug 2011 11:02:02 -0400 Subject: [PATCH] revert Asserts.js changes --- auto_tests/lib/Asserts.js | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.7.4