From 654dd1d5e8c7612f61678e968d0864a3d04082be Mon Sep 17 00:00:00 2001 From: Shyam Seshadri Date: Thu, 14 Mar 2013 22:12:38 +0530 Subject: [PATCH] Fix failing test in IE 10 --- test/ng/directive/formSpec.js | 4 ++-- 1 file 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(); }