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

Side by Side Diff: pkg/barback/test/asset_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library barback.test.asset_test; 5 library barback.test.asset_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:utf'; 9 import 'dart:utf';
10 10
11 import 'package:barback/barback.dart'; 11 import 'package:barback/barback.dart';
12 import 'package:pathos/path.dart' as pathos; 12 import 'package:path/path.dart' as pathos;
13 import 'package:unittest/unittest.dart'; 13 import 'package:unittest/unittest.dart';
14 14
15 import 'utils.dart'; 15 import 'utils.dart';
16 16
17 /// The contents of the test binary file. 17 /// The contents of the test binary file.
18 final binaryContents = [0, 1, 2, 3, 4]; 18 final binaryContents = [0, 1, 2, 3, 4];
19 19
20 main() { 20 main() {
21 initConfig(); 21 initConfig();
22 22
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 }); 171 });
172 172
173 group("file asset", () { 173 group("file asset", () {
174 test("shows the file path", () { 174 test("shows the file path", () {
175 var asset = new Asset.fromPath(id, "path.txt"); 175 var asset = new Asset.fromPath(id, "path.txt");
176 expect(asset.toString(), equals('File "path.txt"')); 176 expect(asset.toString(), equals('File "path.txt"'));
177 }); 177 });
178 }); 178 });
179 }); 179 });
180 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698