Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Side by Side Diff: tests/standalone/package/scenarios/packages_file_strange_formatting/empty_package_dir_test.dart

Issue 2361813003: Fix test.py and tests to use an explicit --packages flag. (Closed)
Patch Set: Handle case where only observatory_ui tests are run. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // PackageRoot=none
6 // Packages=empty_package_dir.packages 5 // Packages=empty_package_dir.packages
7 6
8 // In this test, we give a packages file that associates the package 'foo' with 7 // In this test, we give a packages file that associates the package 'foo' with
9 // the empty string. This causes both the VM and dart2js to resolve 8 // the empty string. This causes both the VM and dart2js to resolve
10 // 'package:foo' imports relative to the root directory. So the import statement 9 // 'package:foo' imports relative to the root directory. So the import statement
11 // `import 'package:foo/foo.dart'` is equivalent to `import '/foo.dart'`. 10 // `import 'package:foo/foo.dart'` is equivalent to `import '/foo.dart'`.
12 library empty_package_dir_test; 11 library empty_package_dir_test;
13 12
14 import 'package:foo/foo.dart'; 13 import 'package:foo/foo.dart';
15 14
16 main() { 15 main() {
17 } 16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698