Make toEqual pass for arrays with equivalent properties
- Fixes a bug caused by accidental use of a closure variable
This commit is contained in:
@@ -225,7 +225,7 @@ getJasmineRequireObj().matchersUtil = function(j$) {
|
||||
var extraKeys = [];
|
||||
for (var i in allKeys) {
|
||||
if (!allKeys[i].match(/^[0-9]+$/)) {
|
||||
extraKeys.push(key);
|
||||
extraKeys.push(allKeys[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user