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

Unified Diff: tests/standalone/test_config.dart

Issue 8508054: Getting started on options parsing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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/test_config.dart
diff --git a/tests/standalone/test_config.dart b/tests/standalone/test_config.dart
index 837285c0c8cec677ef855c39e44133824a8fb3ab..7a8c2806ca0aa5de49f4a2a64f7348d54d883d02 100644
--- a/tests/standalone/test_config.dart
+++ b/tests/standalone/test_config.dart
@@ -34,9 +34,9 @@ class StandaloneTestSuite {
void processDirectory() {
directoryPath = getDirname(directoryPath);
Directory dir = new Directory(directoryPath);
- Expect.isTrue(dir.existsSync(),
- "Cannot find tests/standalone/src or ../tests/standalone/src");
- // TODO(ager): Use dir.errorHandler instead when it is implemented.
+ dir.errorHandler = (s) {
+ throw s;
+ };
dir.fileHandler = processFile;
dir.doneHandler = doDone;
dir.list(false);

Powered by Google App Engine
This is Rietveld 408576698