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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/global/run/runs_script_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 import '../../descriptor.dart' as d;
2 import '../../test_pub.dart';
3 main() {
4 initConfig();
5 integration('runs a script in an activated package', () {
6 servePackages((builder) {
7 builder.serve(
8 "foo",
9 "1.0.0",
10 contents: [
11 d.dir("bin", [d.file("script.dart", "main(args) => print('ok');")] )]);
12 });
13 schedulePub(args: ["global", "activate", "foo"]);
14 var pub = pubRun(global: true, args: ["foo:script"]);
15 pub.stdout.expect("ok");
16 pub.shouldExit();
17 });
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698