| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |