| Index: sdk/lib/_internal/pub_generated/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart b/sdk/lib/_internal/pub_generated/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart
|
| similarity index 52%
|
| copy from sdk/lib/_internal/pub/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart
|
| index d0c8fa121fc4d4daaa5225725405aae77beb066a..f59bf1324cbf168cfca684efaf73539ab0fc509f 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/serve/does_not_get_first_if_git_url_did_not_change_test.dart
|
| @@ -1,25 +1,16 @@
|
| -// 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("does not get first if a git dependency's url is unchanged", () {
|
| - d.git('foo.git', [
|
| - d.libPubspec('foo', '1.0.0'),
|
| - d.libDir("foo")
|
| - ]).create();
|
| -
|
| + d.git('foo.git', [d.libPubspec('foo', '1.0.0'), d.libDir("foo")]).create();
|
| d.appDir({
|
| - "foo": {"git": "../foo.git"}
|
| + "foo": {
|
| + "git": "../foo.git"
|
| + }
|
| }).create();
|
| -
|
| pubGet();
|
| pubServe(shouldGetFirst: false);
|
| requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";');
|
|
|