Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6e5e76e

Browse files
committed
refactor(Angular): removed redundant test
1 parent 45252c3 commit 6e5e76e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/AngularSpec.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,21 +1249,6 @@ describe('angular', function() {
12491249
});
12501250
});
12511251

1252-
describe('msie UA parsing', function() {
1253-
if (/ Trident\/.*; rv:/.test(window.navigator.userAgent)) {
1254-
it('should fail when the Trident and the rv versions disagree for IE11+', function() {
1255-
// When this test fails, we can think about whether we want to use the version from the
1256-
// Trident token in the UA string or stick with the version from rv: as we currently do.
1257-
// Refer https://github.com/angular/angular.js/pull/3758#issuecomment-23529245 for the
1258-
// discussion.
1259-
var UA = window.navigator.userAgent;
1260-
var tridentVersion = parseInt((/Trident\/(\d+)/.exec(UA) || [])[1], 10) + 4;
1261-
var rvVersion = parseInt((/Trident\/.*; rv:(\d+)/.exec(UA) || [])[1], 10);
1262-
expect(tridentVersion).toBe(rvVersion);
1263-
});
1264-
}
1265-
});
1266-
12671252
describe('isElement', function() {
12681253
it('should return a boolean value', inject(function($compile, $document, $rootScope) {
12691254
var element = $compile('<p>Hello, world!</p>')($rootScope),

0 commit comments

Comments
 (0)