| Index: sdk/lib/_internal/pub_generated/test/serve/gets_first_if_path_dependency_changed_test.dart
|
| diff --git a/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_path_dependency_changed_test.dart b/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_path_dependency_changed_test.dart
|
| index 1789edb187b6bf8daeeb23c72223db8cc3eb715c..156e18d3469d6244e58f9e727cbb1f9a5db3d186 100644
|
| --- a/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_path_dependency_changed_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_path_dependency_changed_test.dart
|
| @@ -1,7 +1,13 @@
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.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.
|
| +
|
| library pub_tests;
|
| +
|
| import '../descriptor.dart' as d;
|
| import '../test_pub.dart';
|
| import 'utils.dart';
|
| +
|
| main() {
|
| initConfig();
|
| integration(
|
| @@ -11,20 +17,26 @@ main() {
|
| d.dir(
|
| "foo-before",
|
| [d.libPubspec("foo", "0.0.1"), d.libDir("foo", "before")]).create();
|
| +
|
| d.dir(
|
| "foo-after",
|
| [d.libPubspec("foo", "0.0.1"), d.libDir("foo", "after")]).create();
|
| +
|
| d.appDir({
|
| "foo": {
|
| "path": "../foo-before"
|
| }
|
| }).create();
|
| +
|
| pubGet();
|
| +
|
| + // Change the path in the pubspec.
|
| d.appDir({
|
| "foo": {
|
| "path": "../foo-after"
|
| }
|
| }).create();
|
| +
|
| pubServe(shouldGetFirst: true);
|
| requestShouldSucceed("packages/foo/foo.dart", 'main() => "after";');
|
| endPubServe();
|
|
|