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

Side by Side Diff: sdk/lib/_internal/pub/test/install/git/lock_version_test.dart

Issue 22941002: Remove unused imports in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS 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 'dart:io';
8
9 import 'package:path/path.dart' as path; 7 import 'package:path/path.dart' as path;
10 import 'package:scheduled_test/scheduled_test.dart'; 8 import 'package:scheduled_test/scheduled_test.dart';
11 9
12 import '../../../lib/src/io.dart'; 10 import '../../../lib/src/io.dart';
13 import '../../descriptor.dart' as d; 11 import '../../descriptor.dart' as d;
14 import '../../test_pub.dart'; 12 import '../../test_pub.dart';
15 13
16 main() { 14 main() {
17 initConfig(); 15 initConfig();
18 integration('keeps a Git package locked to the version in the lockfile', () { 16 integration('keeps a Git package locked to the version in the lockfile', () {
(...skipping 26 matching lines...) Expand all
45 // This install shouldn't update the foo.git dependency due to the lockfile. 43 // This install shouldn't update the foo.git dependency due to the lockfile.
46 pubInstall(); 44 pubInstall();
47 45
48 d.dir(packagesPath, [ 46 d.dir(packagesPath, [
49 d.dir('foo', [ 47 d.dir('foo', [
50 d.file('foo.dart', 'main() => "foo";') 48 d.file('foo.dart', 'main() => "foo";')
51 ]) 49 ])
52 ]).validate(); 50 ]).validate();
53 }); 51 });
54 } 52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698