aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShyam Seshadri2013-03-14 22:12:38 +0530
committerMisko Hevery2013-03-14 22:04:06 -0700
commit654dd1d5e8c7612f61678e968d0864a3d04082be (patch)
treeb65f2c3a5031d7bc99a0b00cc69932be7bb06385
parentbf114f6ee35179ac1d2f772047f7971d47d48f9a (diff)
downloadangular.js-654dd1d5e8c7612f61678e968d0864a3d04082be.tar.bz2
Fix failing test in IE 10
-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 2fd55f60..347d4476 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();
}