| Index: third_party/pkg/angular/test/core/registry_spec.dart
|
| diff --git a/third_party/pkg/angular/test/core/registry_spec.dart b/third_party/pkg/angular/test/core/registry_spec.dart
|
| index 940c9ba9072c51cd85268c5c559a24212feb6c71..acfd433977c90e49b5ba1091e7f5180ec10e5a7d 100644
|
| --- a/third_party/pkg/angular/test/core/registry_spec.dart
|
| +++ b/third_party/pkg/angular/test/core/registry_spec.dart
|
| @@ -3,7 +3,7 @@ library registry_spec;
|
| import '../_specs.dart';
|
|
|
| main() => describe('RegistryMap', () {
|
| - it('should throw error on identical keys', () {
|
| + it('should allow for multiple registry keys to be added', () {
|
| var module = new Module()
|
| ..type(MyMap)
|
| ..type(MetadataExtractor)
|
| @@ -13,7 +13,7 @@ main() => describe('RegistryMap', () {
|
| var injector = new DynamicInjector(modules: [module]);
|
| expect(() {
|
| injector.get(MyMap);
|
| - }).toThrow("Duplicate annotation found: MyAnnotation: A. Exisitng:");
|
| + }).not.toThrow();
|
| });
|
|
|
| it('should iterate over all types', () {
|
|
|