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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/real_version_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 library pub_tests;
2 import 'dart:io';
3 import 'package:path/path.dart' as path;
4 import 'package:scheduled_test/scheduled_process.dart';
5 import 'package:scheduled_test/scheduled_test.dart';
6 import '../lib/src/exit_codes.dart' as exit_codes;
7 import '../lib/src/sdk.dart' as sdk;
8 import 'test_pub.dart';
9 main() {
10 initConfig();
11 integration('parse the real SDK "version" file', () {
12 var pubPath = path.join(
13 sdk.rootDirectory,
14 'bin',
15 Platform.operatingSystem == "windows" ? "pub.bat" : "pub");
16 var pub = new ScheduledProcess.start(pubPath, ['version']);
17 pub.stdout.expect(startsWith("Pub"));
18 pub.shouldExit(exit_codes.SUCCESS);
19 });
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698