From 5d37d399880c7cda1ff9cc3e4761d67b858272b4 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Sat, 13 Oct 2007 11:05:29 +0000 Subject: [PATCH] Fix a the failing ClassCreate test case in IE. --- test/unit/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/base.html b/test/unit/base.html index 2b5e37b..650d070 100644 --- a/test/unit/base.html +++ b/test/unit/base.html @@ -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) {