Skip to content

Commit 25c8cb9

Browse files
petebacondarwinIgorMinar
authored andcommitted
test(repeat): $last should appear correctly even if object has properties beginning with $
1 parent 7c60151 commit 25c8cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/directive/ngRepeatSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ describe('ngRepeat', function() {
274274
'<ul>' +
275275
'<li ng-repeat="(key, val) in items">{{key}}:{{val}}:{{$first}}-{{$middle}}-{{$last}}|</li>' +
276276
'</ul>')(scope);
277-
scope.items = {'misko':'m', 'shyam':'s', 'doug':'d', 'frodo':'f'};
277+
scope.items = {'misko':'m', 'shyam':'s', 'doug':'d', 'frodo':'f', '$internal': 'xxxx'};
278278
scope.$digest();
279279
expect(element.text()).
280280
toEqual('doug:d:true-false-false|' +

0 commit comments

Comments
 (0)