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

Side by Side Diff: test/unknown_source_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Revise again. Created 4 years, 2 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
« no previous file with comments | « test/test_pub.dart ('k') | test/upgrade/git/do_not_upgrade_if_unneeded_test.dart » ('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) 2012, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2012, 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 d.file. 3 // BSD-style license that can be found in the LICENSE d.file.
4 4
5 import 'dart:convert'; 5 import 'dart:convert';
6 6
7 import 'descriptor.dart' as d; 7 import 'descriptor.dart' as d;
8 import 'test_pub.dart'; 8 import 'test_pub.dart';
9 9
10 main() { 10 main() {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 'name': 'foo' 53 'name': 'foo'
54 } 54 }
55 } 55 }
56 } 56 }
57 })) 57 }))
58 ]).create(); 58 ]).create();
59 59
60 pubCommand(command); 60 pubCommand(command);
61 61
62 // Should upgrade to the new one. 62 // Should upgrade to the new one.
63 d.dir(packagesPath, [ 63 d.appPackagesFile({
64 d.dir("foo", [ 64 "foo": "../foo"
65 d.file("foo.dart", 'main() => "foo";') 65 }).validate();
66 ])
67 ]).validate();
68 }); 66 });
69 }); 67 });
70 } 68 }
OLDNEW
« no previous file with comments | « test/test_pub.dart ('k') | test/upgrade/git/do_not_upgrade_if_unneeded_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698