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

Unified Diff: dart/tests/utils/dummy_compiler_test.dart

Issue 10407092: Add --package-root option to the compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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: dart/tests/utils/dummy_compiler_test.dart
diff --git a/dart/tests/utils/dummy_compiler_test.dart b/dart/tests/utils/dummy_compiler_test.dart
index 59a064db9d5ae732e19ba53260ca742c594f8d11..30aea67c0a73db87530f19820a4dfb8134d4b0f3 100644
--- a/dart/tests/utils/dummy_compiler_test.dart
+++ b/dart/tests/utils/dummy_compiler_test.dart
@@ -45,7 +45,9 @@ void handler(Uri uri, int begin, int end, String message, bool fatal) {
}
main() {
- String code = compile(new Uri(scheme: 'main'), new Uri(scheme: 'lib'),
+ String code = compile(new Uri(scheme: 'main'),
+ new Uri(scheme: 'lib'),
+ new Uri(scheme: 'package'),
provider, handler).value;
if (code === null) {
throw 'Compilation failed';

Powered by Google App Engine
This is Rietveld 408576698