| Index: tools/testing/dart/multitest.dart
|
| diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart
|
| index 79866789f43723b7bfb6b1b9362235f2842ca06b..9a3045b5645fb71ab7802c16aaf307dad76f1717 100644
|
| --- a/tools/testing/dart/multitest.dart
|
| +++ b/tools/testing/dart/multitest.dart
|
| @@ -197,15 +197,15 @@ WriteMultitestToFileAndQueueIt(Map<String, String> tests,
|
| }
|
|
|
| String CreateMultitestDirectory(String buildDir, String testDir) {
|
| - final String generatedTestDirectory = 'generated_tests/';
|
| + final String generatedTestDirectory = 'generated_tests';
|
| Directory parentDir = new Directory(buildDir + generatedTestDirectory);
|
| if (!parentDir.existsSync()) {
|
| parentDir.createSync();
|
| }
|
| - var split = testDir.split(new Platform().pathSeparator());
|
| + var split = testDir.split('/');
|
| var lastComponent = split.removeLast();
|
| Expect.isTrue(lastComponent == 'src');
|
| - String path = parentDir.path + split.last();
|
| + String path = '${parentDir.path}/${split.last()}';
|
| Directory dir = new Directory(path);
|
| if (!dir.existsSync()) {
|
| dir.createSync();
|
|
|