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

Unified Diff: sdk/lib/_internal/pub_generated/test/run/mode_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: sdk/lib/_internal/pub_generated/test/run/mode_test.dart
diff --git a/sdk/lib/_internal/pub/test/run/mode_test.dart b/sdk/lib/_internal/pub_generated/test/run/mode_test.dart
similarity index 73%
copy from sdk/lib/_internal/pub/test/run/mode_test.dart
copy to sdk/lib/_internal/pub_generated/test/run/mode_test.dart
index f6c60ff84c9c518bc400f3d57b4a0c1a89e5afd5..cff439fadd10d700fe073ca8ffd6cd8aca5e7279 100644
--- a/sdk/lib/_internal/pub/test/run/mode_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/run/mode_test.dart
@@ -29,16 +29,18 @@ main() {
initConfig();
withBarbackVersions("any", () {
integration('runs a local script with customizable modes', () {
- d.dir(appPath, [
- d.pubspec({
+ d.dir(appPath, [d.pubspec({
"name": "myapp",
"transformers": ["myapp/src/transformer"]
}),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER),
- d.file("primary.in", "")
- ])])
- ]).create();
+ d.dir(
+ "lib",
+ [
+ d.dir(
+ "src",
+ [
+ d.file("transformer.dart", TRANSFORMER),
+ d.file("primary.in", "")])])]).create();
createLockFile('myapp', pkg: ['barback']);
@@ -54,19 +56,25 @@ main() {
});
integration('runs a dependency script with customizable modes', () {
- d.dir("foo", [
- d.pubspec({
+ d.dir("foo", [d.pubspec({
"name": "foo",
"version": "1.2.3",
"transformers": ["foo/src/transformer"]
}),
- d.dir("lib", [d.dir("src", [
- d.file("transformer.dart", TRANSFORMER),
- d.file("primary.in", "")
- ])])
- ]).create();
-
- d.appDir({"foo": {"path": "../foo"}}).create();
+ d.dir(
+ "lib",
+ [
+ d.dir(
+ "src",
+ [
+ d.file("transformer.dart", TRANSFORMER),
+ d.file("primary.in", "")])])]).create();
+
+ d.appDir({
+ "foo": {
+ "path": "../foo"
+ }
+ }).create();
createLockFile('myapp', sandbox: ['foo'], pkg: ['barback']);

Powered by Google App Engine
This is Rietveld 408576698