| Index: tools/dom/docs/test/docs_test.dart
|
| ===================================================================
|
| --- tools/dom/docs/test/docs_test.dart (revision 25319)
|
| +++ tools/dom/docs/test/docs_test.dart (working copy)
|
| @@ -7,16 +7,17 @@
|
| import 'dart:io';
|
|
|
| import 'package:unittest/unittest.dart';
|
| +import 'package:path/path.dart' as path;
|
|
|
| import '../bin/docs.dart';
|
| import '../lib/docs.dart';
|
|
|
| -final testJsonPath = scriptDir.append('test.json').canonicalize();
|
| +final testJsonPath = path.normalize(path.join(scriptDir, 'test.json'));
|
|
|
| main() {
|
| group('docs', () {
|
| - var oldJson = new File.fromPath(json_path);
|
| - var testJson = new File.fromPath(testJsonPath);
|
| + var oldJson = new File(json_path);
|
| + var testJson = new File(testJsonPath);
|
|
|
| tearDown(() {
|
| // Clean up.
|
|
|