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

Unified Diff: pkg/path/test/path_test.dart

Issue 20204003: First stab at a dev server in pub using barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 5 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
Index: pkg/path/test/path_test.dart
diff --git a/pkg/path/test/path_test.dart b/pkg/path/test/path_test.dart
index ef3cf21ecd7f58e95ebc267cdd78369dd6dbfa70..d6c2f3493cfdf8fabfe3fdae104679b05c0073b1 100644
--- a/pkg/path/test/path_test.dart
+++ b/pkg/path/test/path_test.dart
@@ -34,4 +34,19 @@ main() {
expect(builder.style, path.Style.windows);
});
});
+
+ test('posix is a default Builder for the POSIX style', () {
+ expect(path.posix.style, path.Style.posix);
+ expect(path.posix.root, ".");
+ });
+
+ test('windows is a default Builder for the Windows style', () {
+ expect(path.windows.style, path.Style.windows);
+ expect(path.windows.root, ".");
+ });
+
+ test('url is a default Builder for the URL style', () {
+ expect(path.url.style, path.Style.url);
+ expect(path.url.root, ".");
+ });
}

Powered by Google App Engine
This is Rietveld 408576698