Index: lib/src/runner.dart |
diff --git a/lib/src/runner.dart b/lib/src/runner.dart |
index ae549e89fc10e5cbdbfba3b58f6573392b89a9ab..95caaf6810f46f018d92842668b62389c26b81d0 100644 |
--- a/lib/src/runner.dart |
+++ b/lib/src/runner.dart |
@@ -181,8 +181,8 @@ class Runner { |
if (new File(path).existsSync()) return _loader.loadFile(path); |
return new Stream.fromIterable([ |
- new LoadSuite("loading $path", () => |
- throw new LoadException(path, 'Does not exist.')) |
+ new LoadSuite.forLoadException( |
+ new LoadException(path, 'Does not exist.')) |
]); |
})).map((loadSuite) { |
return loadSuite.changeSuite((suite) { |