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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/get/git/dependency_name_match_pubspec_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 'package:scheduled_test/scheduled_test.dart';
3 import '../../../lib/src/exit_codes.dart' as exit_codes;
4 import '../../descriptor.dart' as d;
5 import '../../test_pub.dart';
6 main() {
7 initConfig();
8 integration(
9 'requires the dependency name to match the remote pubspec ' 'name',
10 () {
11 ensureGit();
12 d.git('foo.git', [d.libDir('foo'), d.libPubspec('foo', '1.0.0')]).create();
13 d.dir(appPath, [d.appPubspec({
14 "weirdname": {
15 "git": "../foo.git"
16 }
17 })]).create();
18 pubGet(
19 error: contains('"name" field doesn\'t match expected name ' '"weirdname ".'),
20 exitCode: exit_codes.DATA);
21 });
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698