parent
e21718faa9
commit
9cb6dbbbab
|
@ -9,7 +9,7 @@ import {CONST} from 'angular2/src/facade/lang';
|
|||
* var t = new OpaqueToken("value");
|
||||
*
|
||||
* var injector = Injector.resolveAndCreate([
|
||||
* provide(t, {useValue: "providedValue"})
|
||||
* provide(t, {useValue: "bindingValue"})
|
||||
* ]);
|
||||
*
|
||||
* expect(injector.get(t)).toEqual("bindingValue");
|
||||
|
|
Loading…
Reference in New Issue