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

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

Issue 212923006: Rationalize arg handling for pub build and serve. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 years, 9 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/copies_browser_js_next_to_entrypoints_test.dart
diff --git a/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart b/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart
index 80c1f5550641356abea11153a2984f73e6d1124c..fd2a853345666c0b35e8f510b11d3cb88743f8d4 100644
--- a/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart
+++ b/sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart
@@ -20,7 +20,7 @@ main() {
d.dir(appPath, [
d.appPubspec({"browser": "1.0.0"}),
- d.dir('example', [
+ d.dir('foo', [
d.file('file.dart', 'void main() => print("hello");'),
d.dir('subdir', [
d.file('subfile.dart', 'void main() => print("subhello");')
@@ -36,12 +36,12 @@ main() {
pubGet();
- schedulePub(args: ["build", "--all"],
+ schedulePub(args: ["build", "foo", "web"],
output: new RegExp(r'Built 16 files to "build".'));
d.dir(appPath, [
d.dir('build', [
- d.dir('example', [
+ d.dir('foo', [
d.matcherFile('file.dart.js', isNot(isEmpty)),
d.matcherFile('file.dart.precompiled.js', isNot(isEmpty)),
d.dir('packages', [d.dir('browser', [

Powered by Google App Engine
This is Rietveld 408576698