| Index: sdk/lib/_internal/pub_generated/test/serve/gets_first_if_no_lockfile_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/gets_first_if_no_lockfile_test.dart b/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_no_lockfile_test.dart
|
| similarity index 50%
|
| copy from sdk/lib/_internal/pub/test/serve/gets_first_if_no_lockfile_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/serve/gets_first_if_no_lockfile_test.dart
|
| index 6abbfd9afbfde1679d88edc7267dfde6db8808b7..127f89c84df9a6e5942504ce00a25143a92ba159 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/gets_first_if_no_lockfile_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/serve/gets_first_if_no_lockfile_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("gets first if there is no lockfile", () {
|
| - d.dir("foo", [
|
| - d.libPubspec("foo", "0.0.1"),
|
| - d.libDir("foo")
|
| - ]).create();
|
| -
|
| + d.dir("foo", [d.libPubspec("foo", "0.0.1"), d.libDir("foo")]).create();
|
| d.appDir({
|
| - "foo": {"path": "../foo"}
|
| + "foo": {
|
| + "path": "../foo"
|
| + }
|
| }).create();
|
| -
|
| pubServe(shouldGetFirst: true);
|
| requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";');
|
| endPubServe();
|
|
|