| Index: test/paths_test.dart
|
| diff --git a/test/paths_test.dart b/test/paths_test.dart
|
| index 5ade585fb80fd860667d7b38a9fbf1269c78a845..623c678648b2665b05d975ebda873f9df88389aa 100644
|
| --- a/test/paths_test.dart
|
| +++ b/test/paths_test.dart
|
| @@ -80,7 +80,7 @@ main() {
|
|
|
| test('windows paths', () {
|
| try {
|
| - utils.path = new path.Builder(style: path.Style.windows);
|
| + utils.path = path.windows;
|
| var pathMapper = _newPathMapper('a', 'a', false);
|
| var file1 = _mockFile('a\\b.dart', pathMapper);
|
| var file2 = _mockFile('a\\c\\d.dart', pathMapper);
|
| @@ -94,7 +94,7 @@ main() {
|
| expect(pathMapper.importUrlFor(file3, file2), '../c/_d.dart.dart');
|
| expect(pathMapper.importUrlFor(file3, file1), '../_b.dart.dart');
|
| } finally {
|
| - utils.path = new path.Builder();
|
| + utils.path = new path.Context();
|
| }
|
| });
|
| });
|
| @@ -228,7 +228,7 @@ main() {
|
|
|
| test('windows paths', () {
|
| try {
|
| - utils.path = new path.Builder(style: path.Style.windows);
|
| + utils.path = path.windows;
|
| var pathMapper = _newPathMapper('a', 'out', true);
|
| var file1 = _mockFile('a\\b.dart', pathMapper);
|
| var file2 = _mockFile('a\\c\\d.dart', pathMapper);
|
| @@ -242,7 +242,7 @@ main() {
|
| expect(pathMapper.importUrlFor(file3, file2), '../c/_d.dart.dart');
|
| expect(pathMapper.importUrlFor(file3, file1), '../_b.dart.dart');
|
| } finally {
|
| - utils.path = new path.Builder();
|
| + utils.path = new path.Context();
|
| }
|
| });
|
| });
|
|
|