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

Unified Diff: tests/standalone/package/scenarios/packages_file_strange_formatting/target_with_colon_test.dart

Issue 1298323002: Add more tests for .packages (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: tests/standalone/package/scenarios/packages_file_strange_formatting/target_with_colon_test.dart
diff --git a/tests/standalone/package/scenarios/packages_file_in_parent/sub/packages_file_in_parent_test.dart b/tests/standalone/package/scenarios/packages_file_strange_formatting/target_with_colon_test.dart
similarity index 54%
copy from tests/standalone/package/scenarios/packages_file_in_parent/sub/packages_file_in_parent_test.dart
copy to tests/standalone/package/scenarios/packages_file_strange_formatting/target_with_colon_test.dart
index 106b1af87535443c2ac8064d8c1071be8e0a7f50..6a3985b374300b245af4db3d948b20d98640df6c 100644
--- a/tests/standalone/package/scenarios/packages_file_in_parent/sub/packages_file_in_parent_test.dart
+++ b/tests/standalone/package/scenarios/packages_file_strange_formatting/target_with_colon_test.dart
@@ -3,13 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
// PackageRoot=none
+// Packages=target_with_colon.packages
-library packages_file_in_parent_test;
+library target_with_colon_test;
-import 'package:foo/foo.dart' as foo;
+import 'package:quux/quux.dart' as quux;
main() {
- if (foo.bar != 'hello') {
- throw new Exception('package "foo" was not resolved correctly');
+ if (quux.quux != 'quux') {
+ throw new Exception('package "quux" was not resolved correctly');
}
}

Powered by Google App Engine
This is Rietveld 408576698