projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e4b64
)
revert Asserts.js changes
author
Dan Vanderkam
<danvk@google.com>
Mon, 8 Aug 2011 15:02:02 +0000
(11:02 -0400)
committer
Dan Vanderkam
<danvk@google.com>
Mon, 8 Aug 2011 15:02:02 +0000
(11:02 -0400)
auto_tests/lib/Asserts.js
patch
|
blob
|
blame
|
history
diff --git
a/auto_tests/lib/Asserts.js
b/auto_tests/lib/Asserts.js
index
b06ff29
..
b3ed441
100644
(file)
--- 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;