Skip to content

Commit 7cbb092

Browse files
author
Przemek Kaminski
committed
ngRepeat: fix test spec after removing end comment
1 parent 1dcea62 commit 7cbb092

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/ng/directive/ngRepeatSpec.js

-4
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ describe('ngRepeat', function() {
621621
'<div>' +
622622
'<!-- ngRepeat: i in items -->' +
623623
'<div ng-repeat="i in items" rr="">1|</div>' +
624-
'<!-- end ngRepeat: i in items -->' +
625624
'<div ng-repeat="i in items" rr="">2|</div>' +
626625
'<!-- end ngRepeat: i in items -->' +
627626
'</div>'
@@ -653,7 +652,6 @@ describe('ngRepeat', function() {
653652
'<div>' +
654653
'<!-- ngRepeat: i in items -->' +
655654
'<div ng-repeat="i in items" rr="">1|</div>' +
656-
'<!-- end ngRepeat: i in items -->' +
657655
'<div ng-repeat="i in items" rr="">2|</div>' +
658656
'<!-- end ngRepeat: i in items -->' +
659657
'</div>'
@@ -759,9 +757,7 @@ describe('ngRepeat', function() {
759757

760758
// Note: COMMENT_NODE === 8
761759
expect(children[0].nextSibling.nodeType).toBe(8);
762-
expect(children[0].nextSibling.nodeValue).toBe(' end ngRepeat: val in values ');
763760
expect(children[1].nextSibling.nodeType).toBe(8);
764-
expect(children[1].nextSibling.nodeValue).toBe(' end ngRepeat: val in values ');
765761
expect(children[2].nextSibling.nodeType).toBe(8);
766762
expect(children[2].nextSibling.nodeValue).toBe(' end ngRepeat: val in values ');
767763
}

0 commit comments

Comments
 (0)