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

Side by Side Diff: sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart

Issue 63923004: Version 1.0.0.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | tools/VERSION » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library pub_tests; 5 library pub_tests;
6 6
7 import 'package:scheduled_test/scheduled_test.dart'; 7 import 'package:scheduled_test/scheduled_test.dart';
8 8
9 import '../descriptor.dart' as d; 9 import '../descriptor.dart' as d;
10 import '../test_pub.dart'; 10 import '../test_pub.dart';
(...skipping 10 matching lines...) Expand all
21 "transformers": ["myapp/src/transformer"] 21 "transformers": ["myapp/src/transformer"]
22 }), 22 }),
23 d.dir("lib", [d.dir("src", [ 23 d.dir("lib", [d.dir("src", [
24 d.file("transformer.dart", "import 'does/not/exist.dart';") 24 d.file("transformer.dart", "import 'does/not/exist.dart';")
25 ])]) 25 ])])
26 ]).create(); 26 ]).create();
27 27
28 createLockFile('myapp', pkg: ['barback']); 28 createLockFile('myapp', pkg: ['barback']);
29 var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]); 29 var pub = startPub(args: ['serve', '--port=0', "--hostname=127.0.0.1"]);
30 expect(pub.nextErrLine(), completion(matches(new RegExp( 30 expect(pub.nextErrLine(), completion(matches(new RegExp(
31 r"Error: line 1 pos 1: library handler failed$")))); 31 r"error: line 1 pos 1: library handler failed$"))));
32 pub.shouldExit(1); 32 pub.shouldExit(1);
33 }); 33 });
34 } 34 }
OLDNEW
« no previous file with comments | « no previous file | tools/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698