aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorShyam Seshadri2013-03-14 22:12:38 +0530
committerMisko Hevery2013-03-14 22:03:37 -0700
commit79049b9fee5690b8370c51e0fbb82d7a16b787fc (patch)
tree1875b80d47a1d8c87b56d3915cad43f1d20f14a2 /test
parent9428338e97da954b471e96a8d8ceedb7e4a65ab0 (diff)
downloadangular.js-79049b9fee5690b8370c51e0fbb82d7a16b787fc.tar.bz2
Fix failing test in IE 10
Diffstat (limited to 'test')
-rw-r--r--test/ng/directive/formSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ng/directive/formSpec.js b/test/ng/directive/formSpec.js
index 9fe98570..0e3695cd 100644
--- a/test/ng/directive/formSpec.js
+++ b/test/ng/directive/formSpec.js
@@ -228,8 +228,8 @@ describe('form', function() {
// the issue in the wild, I'm not going to bother to do it
// now. (i)
- // IE9 is special and it doesn't fire submit event when form was destroyed
- if (msie != 9) {
+ // IE9 and IE10 are special and don't fire submit event when form was destroyed
+ if (msie < 9) {
expect(reloadPrevented).toBe(true);
$timeout.flush();
}