diff --git a/test/expect-0.2.0-ol3/expect.js b/test/expect-0.2.0-ol3/expect.js index 2fe81d4575..6c2ec48248 100644 --- a/test/expect-0.2.0-ol3/expect.js +++ b/test/expect-0.2.0-ol3/expect.js @@ -522,7 +522,8 @@ if (equal) { var j = 0; for (j = 0; j < other.length; ++j) { - if (this.obj[j] !== other[j]) { + if (this.obj[j] !== other[j] && + !(isNaN(this.obj[j]) && isNaN(other[j]))) { equal = false; break; }