style(test): fix style in one test

This commit is contained in:
Lucas Mirelmann
2015-09-20 21:34:27 +02:00
parent c4817cdca4
commit 3d7846bdab
+1 -1
View File
@@ -1122,7 +1122,7 @@ describe('parser', function() {
it('should prevent the exploit', function() {
try {
scope.$eval('(1)[{0: "__proto__", 1: "__proto__", 2: "__proto__", 3: "safe", length: 4, toString: [].pop}].foo = 1');
} catch(e) { /* ignore */ };
} catch(e) { /* ignore */ }
if (!msie || msie > 10) {
expect((1)['__proto__'].foo).toBeUndefined();
}