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

Unified Diff: sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart

Issue 141113011: Support directories other than "web" in pub build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. 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: sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart
diff --git a/sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart b/sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart
index fd8a7ac9d8c45fe5e7215a6a01ea51e17983b931..d5d9b88c4c4a5b9822c6f1a45d7c194b3ebe19df 100644
--- a/sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart
+++ b/sdk/lib/_internal/pub/test/build/dart2js_finds_imports_across_packages_test.dart
@@ -47,14 +47,15 @@ main() {
]).create();
schedulePub(args: ["build"],
- output: new RegExp(r"Built 3 files!"),
- exitCode: 0);
+ output: new RegExp(r"Built 3 files!"));
d.dir(appPath, [
d.dir('build', [
- d.matcherFile('main.dart.js', isNot(isEmpty)),
- d.matcherFile('main.dart.precompiled.js', isNot(isEmpty)),
- d.matcherFile('main.dart.js.map', isNot(isEmpty))
+ d.dir('web', [
+ d.matcherFile('main.dart.js', isNot(isEmpty)),
+ d.matcherFile('main.dart.precompiled.js', isNot(isEmpty)),
+ d.matcherFile('main.dart.js.map', isNot(isEmpty))
+ ])
])
]).validate();
});

Powered by Google App Engine
This is Rietveld 408576698