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

Unified Diff: pkg/pathos/test/pathos_test.dart

Issue 18356011: Rename "pathos" package to "path". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/pathos/test/pathos_test.dart
diff --git a/pkg/pathos/test/pathos_test.dart b/pkg/pathos/test/pathos_test.dart
deleted file mode 100644
index b0029990ae90504fd3dfe59fc9488a93cf0034e2..0000000000000000000000000000000000000000
--- a/pkg/pathos/test/pathos_test.dart
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import 'package:unittest/unittest.dart';
-import 'package:pathos/path.dart' as path;
-
-main() {
- group('path.Style', () {
- test('name', () {
- expect(path.Style.posix.name, 'posix');
- expect(path.Style.windows.name, 'windows');
- });
-
- test('separator', () {
- expect(path.Style.posix.separator, '/');
- expect(path.Style.windows.separator, '\\');
- });
-
- test('toString()', () {
- expect(path.Style.posix.toString(), 'posix');
- expect(path.Style.windows.toString(), 'windows');
- });
- });
-
- group('new Builder()', () {
- test('uses the given root directory', () {
- var builder = new path.Builder(root: '/a/b/c');
- expect(builder.root, '/a/b/c');
- });
-
- test('uses the given style', () {
- var builder = new path.Builder(style: path.Style.windows);
- expect(builder.style, path.Style.windows);
- });
- });
-}

Powered by Google App Engine
This is Rietveld 408576698