cleanup(di): changed an error message to be more descriptive
This commit is contained in:
3
modules/angular2/test/di/injector_spec.js
vendored
3
modules/angular2/test/di/injector_spec.js
vendored
@ -100,7 +100,8 @@ export function main() {
|
||||
|
||||
it('should throw when no type and not @Inject', function () {
|
||||
expect(() => Injector.resolveAndCreate([NoAnnotations])).toThrowError(
|
||||
'Cannot resolve all parameters for NoAnnotations');
|
||||
'Cannot resolve all parameters for NoAnnotations. '+
|
||||
'Make sure they all have valid type or annotations.');
|
||||
});
|
||||
|
||||
it('should cache instances', function () {
|
||||
|
Reference in New Issue
Block a user