Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 638 → Rev 637

/trunk/test/test.js
424,7 → 424,7
/**
* Asserts that two objects are equal. If they are not,
* an {@link #AssertionError} is thrown with a default message.
* Two objects are considered equal only if their keys are
* Two object are considered equal only if their keys are
* strictly equal (shallow strict comparison).
*
* @function
441,7 → 441,7
function _thrower (expecteds, actuals)
{
return _throwThis(_AssertionError,
"assertObjectEquals(" + expecteds + ", " + actuals + ")");
"assertObjectEquals(expecteds, actuals)");
}
 
/**
488,16 → 488,6
}
}
 
keys = jsx.object.getKeys(actuals);
for (i = keys.length; i--;)
{
key = keys[i];
if (expecteds[key] !== actuals[key])
{
return _thrower(expecteds, actuals);
}
}
 
return true;
};
}()),