Skip to content

Commit 464e894

Browse files
WIP: it seems that IE is not special!
1 parent 8da86a4 commit 464e894

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/ng/filter/filtersSpec.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,7 @@ describe('filters', function() {
121121
num = formatNumber(8798327498374983274928, pattern, ',', '.', 2);
122122
expect(num).toBe('8,798,327,498,374,983,000,000.00');
123123
num = formatNumber(879832749374983274928, pattern, ',', '.', 2);
124-
var msie = +((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]);
125-
var msie11 = (/Trident.*7.0/.exec(navigator.userAgent.toLowerCase()));
126-
if (msie || msie11) {
127-
expect(num).toBe('879,832,749,374,983,100,000.00');
128-
} else {
129-
expect(num).toBe('879,832,749,374,983,200,000.00');
130-
}
124+
expect(num).toBe('879,832,749,374,983,200,000.00');
131125
num = formatNumber(879832749374983274928, pattern, ',', '.', 32);
132126
expect(num).toBe('879,832,749,374,983,200,000.00000000000000000000000000000000');
133127
});

0 commit comments

Comments
 (0)