Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 890dfb2

Browse files
committed
chore(compiler): Fix TODO in tests
1 parent 5981175 commit 890dfb2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/core_dom/compiler_spec.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ void main() {
5454

5555
rootScope.context['name'] = 'angular';
5656

57-
5857
template(injector, element);
5958

6059
expect(element.text()).toEqual('');
@@ -68,10 +67,8 @@ void main() {
6867

6968
rootScope.context['items'] = ['A', 'b'];
7069
template(injector, element);
71-
7270
expect(element.text()).toEqual('');
73-
// TODO(deboer): Digest twice until we have dirty checking in the scope.
74-
rootScope.apply();
71+
7572
rootScope.apply();
7673
expect(element.text()).toEqual('Ab');
7774

@@ -88,8 +85,6 @@ void main() {
8885
template(injector, element);
8986

9087
expect(element.text()).toEqual('');
91-
// TODO(deboer): Digest twice until we have dirty checking in the scope.
92-
rootScope.apply();
9388
rootScope.apply();
9489
expect(element.text()).toEqual('Ab');
9590

0 commit comments

Comments
 (0)