We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8da86a4 commit 464e894Copy full SHA for 464e894
test/ng/filter/filtersSpec.js
@@ -121,13 +121,7 @@ describe('filters', function() {
121
num = formatNumber(8798327498374983274928, pattern, ',', '.', 2);
122
expect(num).toBe('8,798,327,498,374,983,000,000.00');
123
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
- }
+ expect(num).toBe('879,832,749,374,983,200,000.00');
131
num = formatNumber(879832749374983274928, pattern, ',', '.', 32);
132
expect(num).toBe('879,832,749,374,983,200,000.00000000000000000000000000000000');
133
});
0 commit comments