| Index: utils/tests/pub/validator_test.dart
|
| diff --git a/utils/tests/pub/validator_test.dart b/utils/tests/pub/validator_test.dart
|
| index 75b51ff010b66366d3ab7e4b231653196d25fc96..d02fac97089a3c2b48d75a96e97f6c472d24ad94 100644
|
| --- a/utils/tests/pub/validator_test.dart
|
| +++ b/utils/tests/pub/validator_test.dart
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -286,6 +286,15 @@ main() {
|
| expectValidationError(lib);
|
| });
|
|
|
| + integration('has a dependency with a path source', () {
|
| + dir(appPath, [
|
| + libPubspec("test_pkg", "1.0.0", [
|
| + {'path': '/foo/bar'}
|
| + ])
|
| + ]).scheduleCreate();
|
| + expectValidationError(dependency);
|
| + });
|
| +
|
| group('has a dependency with a non-hosted source', () {
|
| group('where a hosted version of that dependency exists', () {
|
| integration("and should suggest the hosted package's primary "
|
|
|