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

Unified Diff: sdk/lib/_internal/pub/test/pubspec_test.dart

Issue 344673002: Load instances of the same transformer from the same isolate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 6 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
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/utils.dart ('k') | sdk/lib/_internal/pub/test/serve/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/pubspec_test.dart
diff --git a/sdk/lib/_internal/pub/test/pubspec_test.dart b/sdk/lib/_internal/pub/test/pubspec_test.dart
index bbdca4f1f559b110c13168ab9305f2a5f77f1d76..b4361a3efbe532d8a41b1c1690597f9ba0948c50 100644
--- a/sdk/lib/_internal/pub/test/pubspec_test.dart
+++ b/sdk/lib/_internal/pub/test/pubspec_test.dart
@@ -339,7 +339,7 @@ dependencies:
transformers:
- foo''', sources);
- expect(pubspec.transformers[0].single.package, equals("foo"));
+ expect(pubspec.transformers[0].single.id.package, equals("foo"));
});
test("allows a transformer from a dev dependency", () {
@@ -351,7 +351,7 @@ dev_dependencies:
transformers:
- foo''', sources);
- expect(pubspec.transformers[0].single.package, equals("foo"));
+ expect(pubspec.transformers[0].single.id.package, equals("foo"));
});
test("allows a transformer from a dependency override", () {
@@ -363,7 +363,7 @@ dependency_overrides:
transformers:
- foo''', sources);
- expect(pubspec.transformers[0].single.package, equals("foo"));
+ expect(pubspec.transformers[0].single.id.package, equals("foo"));
});
test("allows comment-only files", () {
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/utils.dart ('k') | sdk/lib/_internal/pub/test/serve/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698