Permalink
Browse files

Merge pull request #862 from drewfish/unit-client

better support of older browsers
  • Loading branch information...
2 parents a15c44a + 673f194 commit ab59586c01fca736f4d3ff2fcaf16a591c8d2457 @drewfish drewfish committed Dec 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/base/mojito-test.js
@@ -233,7 +233,7 @@ YUI.add('mojito-test-extra', function(Y, NAME) {
if (Y.Lang.isObject(x)) {
A.isObject(x, path + ': ' + (msg || 'first 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) {
if (x.hasOwnProperty(i)) {
Y.TEST_CMP(x[i], y[i], msg, path + '{' + i + '}');

0 comments on commit ab59586

Please sign in to comment.