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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/run/runs_the_script_in_checked_mode_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 'package:scheduled_test/scheduled_test.dart';
2 import '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 const SCRIPT = """
5 main() {
6 int a = true;
7 }
8 """;
9 main() {
10 initConfig();
11 integration('runs the script in checked mode by default', () {
12 d.dir(
13 appPath,
14 [d.appPubspec(), d.dir("bin", [d.file("script.dart", SCRIPT)])]).create( );
15 schedulePub(
16 args: ["run", "script"],
17 error: contains("'bool' is not a subtype of type 'int' of 'a'"),
18 exitCode: 255);
19 });
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698