Fix a the failing ClassCreate test case in IE.

This commit is contained in:
Tobie Langel 2007-10-13 11:05:29 +00:00
parent d25b863c9a
commit 5d37d39988
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@
var Bird = Class.create(Animal);
assertEqual(Bird, Animal.subclasses.last());
// for..in loop (for some reason) doesn't iterate over the constructor property in top-level classes
assertEnumEqual(Object.keys(new Animal), Object.keys(new Bird).without('constructor'));
assertEnumEqual(Object.keys(new Animal).sort(), Object.keys(new Bird).without('constructor').sort());
}},
testClassInstantiation: function() { with(this) {