Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: third_party/pkg/angular/test/core/registry_spec.dart

Issue 148453003: Updating Angular version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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', () {
« no previous file with comments | « third_party/pkg/angular/test/core/parser/static_parser_spec.dart ('k') | third_party/pkg/angular/test/core/scope_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698