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

Unified Diff: test/runner/loader_test.dart

Issue 1101773002: Add Windows support. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Unused import Created 5 years, 8 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/runner/browser/safari_test.dart ('k') | test/runner/pub_serve_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/loader_test.dart
diff --git a/test/runner/loader_test.dart b/test/runner/loader_test.dart
index cee551a574d62c03e03eca616c1d4825501edf9b..68f49a83e7beccb89bd703ade245402434536b27 100644
--- a/test/runner/loader_test.dart
+++ b/test/runner/loader_test.dart
@@ -90,7 +90,8 @@ void main() {
test("throws a nice error if the package root doesn't exist", () {
expect(() => new Loader([TestPlatform.chrome], root: _sandbox),
throwsA(isApplicationException(
- "Directory ${p.join(_sandbox, 'packages')} does not exist.")));
+ "Directory ${p.prettyUri(p.toUri(p.join(_sandbox, 'packages')))} "
+ "does not exist.")));
});
});
@@ -132,7 +133,7 @@ void main() {
expect(suites.map((suite) => suite.path), unorderedEquals([
p.join(_sandbox, 'a_test.dart'),
p.join(_sandbox, 'another_test.dart'),
- p.join(_sandbox, 'dir/sub_test.dart')
+ p.join(_sandbox, 'dir', 'sub_test.dart')
]));
});
« no previous file with comments | « test/runner/browser/safari_test.dart ('k') | test/runner/pub_serve_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698