| Index: test/runner/loader_test.dart
|
| diff --git a/test/runner/loader_test.dart b/test/runner/loader_test.dart
|
| index 8474cbedbc4ebfa713af46b3077bce88babbd349..cee551a574d62c03e03eca616c1d4825501edf9b 100644
|
| --- a/test/runner/loader_test.dart
|
| +++ b/test/runner/loader_test.dart
|
| @@ -88,11 +88,8 @@ void main() {
|
| });
|
|
|
| test("throws a nice error if the package root doesn't exist", () {
|
| - var loader = new Loader([TestPlatform.vm], root: _sandbox);
|
| - expect(
|
| - loader.loadFile(p.join(_sandbox, 'a_test.dart')).first
|
| - .whenComplete(loader.close),
|
| - throwsA(isLoadException(
|
| + expect(() => new Loader([TestPlatform.chrome], root: _sandbox),
|
| + throwsA(isApplicationException(
|
| "Directory ${p.join(_sandbox, 'packages')} does not exist.")));
|
| });
|
| });
|
|
|