From 39ad50657ee80c3ccf179dffcea1b059c23a695c Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Fri, 24 Jul 2015 16:10:16 +0200 Subject: [PATCH] refactor(di/tests): removes unecessary for-loop Closes #3268 --- modules/angular2/test/di/injector_spec.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/angular2/test/di/injector_spec.ts b/modules/angular2/test/di/injector_spec.ts index 0de8a52321..e53d0d806c 100644 --- a/modules/angular2/test/di/injector_spec.ts +++ b/modules/angular2/test/di/injector_spec.ts @@ -181,11 +181,6 @@ export function main() { it('should supporting binding to null', () => { var injector = createInjector([bind(Engine).toValue(null)]); - - for (var i = 0; i < 20; ++i) { - injector.get(Engine); - } - var engine = injector.get(Engine); expect(engine).toBeNull(); });