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

Commit 0bac462

Browse files
alopezsanchezmmalerba
authored andcommitted
fix(icon): fix malformed HTML in tests (#10792)
Fixes #10785
1 parent f4b19fe commit 0bac462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/icon/icon.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,15 +457,15 @@ describe('MdIcon service', function() {
457457
});
458458

459459
it('should append configured SVG icon from named group', function() {
460-
var expected = updateDefaults('<svg xmlns="http://www.w3.org/2000/svg"><g id="s1"></g></g></svg>');
460+
var expected = updateDefaults('<svg xmlns="http://www.w3.org/2000/svg"><g id="s1"></g></svg>');
461461
$mdIcon('social:s1').then(function(el) {
462462
expect(el.outerHTML).toEqual(expected);
463463
});
464464
$scope.$digest();
465465
});
466466

467467
it('should append configured SVG icon from default group', function() {
468-
var expected = updateDefaults('<svg xmlns="http://www.w3.org/2000/svg"><g id="c1"></g></g></svg>');
468+
var expected = updateDefaults('<svg xmlns="http://www.w3.org/2000/svg"><g id="c1"></g></svg>');
469469
$mdIcon('c1').then(function(el) {
470470
expect(el.outerHTML).toEqual(expected);
471471
});

0 commit comments

Comments
 (0)