aboutsummaryrefslogtreecommitdiffstats
path: root/test/CompilerSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/CompilerSpec.js')
-rw-r--r--test/CompilerSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CompilerSpec.js b/test/CompilerSpec.js
index ff576581..7e636ec1 100644
--- a/test/CompilerSpec.js
+++ b/test/CompilerSpec.js
@@ -40,7 +40,7 @@ describe('compiler', function(){
compiler.compile('<div>A</div><span></span>');
}).toThrow("Cannot compile multiple element roots: " + ie("<div>A</div><span></span>"));
function ie(text) {
- return msie ? uppercase(text) : text;
+ return msie && msie < 9 ? uppercase(text) : text;
}
});