| Index: test/run/loads_package_imports_in_a_dependency_test.dart
|
| diff --git a/test/run/runs_named_app_in_dependency_test.dart b/test/run/loads_package_imports_in_a_dependency_test.dart
|
| similarity index 71%
|
| copy from test/run/runs_named_app_in_dependency_test.dart
|
| copy to test/run/loads_package_imports_in_a_dependency_test.dart
|
| index f1b9cbc49e918f4cc8b314bf7901af806f02a74e..6f6427713dffb3f57755f72640a50bb4115dd955 100644
|
| --- a/test/run/runs_named_app_in_dependency_test.dart
|
| +++ b/test/run/loads_package_imports_in_a_dependency_test.dart
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2015, 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.
|
|
|
| @@ -9,8 +9,15 @@ main() {
|
| integration('runs a named Dart application in a dependency', () {
|
| d.dir("foo", [
|
| d.libPubspec("foo", "1.0.0"),
|
| + d.dir("lib", [
|
| + d.file('foo.dart', "final value = 'foobar';")
|
| + ]),
|
| d.dir("bin", [
|
| - d.file("bar.dart", "main() => print('foobar');")
|
| + d.file("bar.dart", """
|
| +import "package:foo/foo.dart";
|
| +
|
| +main() => print(value);
|
| +""")
|
| ])
|
| ]).create();
|
|
|
|
|