File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
+ // This test only needs to be run on one platform. Mac OS simplifies things.
6
+ @TestOn ('mac-os' )
5
7
import 'dart:io' ;
6
8
import 'dart:isolate' show Isolate;
7
9
@@ -15,8 +17,7 @@ void main() {
15
17
var testCasePattern = RegExp (r'test\(.*,' );
16
18
var dartdocLibUri = await Isolate .resolvePackageUri (
17
19
Uri .parse ('package:dartdoc/dartdoc.dart' ));
18
- var dartdocPath = p.dirname (
19
- p.dirname (p.separator + p.joinAll (dartdocLibUri.pathSegments)));
20
+ var dartdocPath = p.dirname (p.dirname (dartdocLibUri.path));
20
21
var runtimeRendererRenderTest = File (p.join (dartdocPath, 'test' ,
21
22
'mustachio' , 'runtime_renderer_render_test.dart' ))
22
23
.readAsLinesSync ();
You can’t perform that action at this time.
0 commit comments