Skip to content

Commit

Permalink
Merge pull request YahooArchive#862 from drewfish/unit-client
Browse files Browse the repository at this point in the history
better support of older browsers
  • Loading branch information
drewfish committed Dec 14, 2012
2 parents a15c44a + 673f194 commit ab59586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base/mojito-test.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ YUI.add('mojito-test-extra', function(Y, NAME) {
if (Y.Lang.isObject(x)) { if (Y.Lang.isObject(x)) {
A.isObject(x, path + ': ' + (msg || 'first arg should be an object')); A.isObject(x, path + ': ' + (msg || 'first arg should be an object'));
A.isObject(y, path + ': ' + (msg || 'second arg should be an object')); A.isObject(y, path + ': ' + (msg || 'second arg should be an object'));
A.areSame(Object.keys(x).length, Object.keys(y).length, path + ': ' + (msg || 'object keys are different lengths')); A.areSame(Y.Object.keys(x).length, Y.Object.keys(y).length, path + ': ' + (msg || 'object keys are different lengths'));
for (i in x) { for (i in x) {
if (x.hasOwnProperty(i)) { if (x.hasOwnProperty(i)) {
Y.TEST_CMP(x[i], y[i], msg, path + '{' + i + '}'); Y.TEST_CMP(x[i], y[i], msg, path + '{' + i + '}');
Expand Down

0 comments on commit ab59586

Please sign in to comment.