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

Unified Diff: test/loader_test.dart

Issue 933083002: Add a test runner executable. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Code review changes Created 5 years, 10 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
« no previous file with comments | « test/io.dart ('k') | test/runner_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/loader_test.dart
diff --git a/test/loader_test.dart b/test/loader_test.dart
index 95a4a8b14e19cde86747e94b6efad9d1b2d6b967..47197fbf02ab2cdb37de3d4891eb62e9d9d11996 100644
--- a/test/loader_test.dart
+++ b/test/loader_test.dart
@@ -83,7 +83,7 @@ void main() {
test("throws a nice error if the package root doesn't exist", () {
var loader = new Loader();
expect(() => loader.loadFile(p.join(_sandbox, 'a_test.dart')),
- throwsA(isFileSystemException(
+ throwsA(isLoadException(
"Directory ${p.join(_sandbox, 'packages')} does not exist.")));
});
});
« no previous file with comments | « test/io.dart ('k') | test/runner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698