aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index b5c2c3f4..0cc85a8c 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -194,6 +194,9 @@ function sortedHtml(element, showNgClass) {
attrs.push(' class="' + className + '"');
}
for(var i=0; i<attributes.length; i++) {
+ if (i>0 && attributes[i] == attributes[i-1])
+ continue; //IE9 creates dupes. Ignore them!
+
var attr = attributes[i];
if(attr.name.match(/^ng:/) ||
attr.value &&