File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
pkgs/native_toolchain_c/test/native_toolchain Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 22// for details. All rights reserved. Use of this source code is governed by a
33// BSD-style license that can be found in the LICENSE file.
44
5+ import 'dart:io' ;
6+
57import 'package:native_toolchain_c/src/native_toolchain/android_ndk.dart' ;
68import 'package:native_toolchain_c/src/tool/tool_requirement.dart' ;
79import 'package:native_toolchain_c/src/tool/tool_resolver.dart' ;
@@ -39,7 +41,11 @@ void main() {
3941
4042 expect (
4143 resolved.map ((e) => e.uri.toFilePath ()),
42- contains (d.path ('fake_android/ndk/1.3.37/' )),
44+ contains (
45+ Directory (
46+ d.sandbox,
47+ ).uri.resolve ('fake_android/ndk/1.3.37/' ).toFilePath (),
48+ ),
4349 );
4450 });
4551
@@ -58,7 +64,9 @@ void main() {
5864
5965 expect (
6066 resolved.map ((e) => e.uri.toFilePath ()),
61- contains (d.path ('weird/ndk/directory/' )),
67+ contains (
68+ Directory (d.sandbox).uri.resolve ('weird/ndk/directory/' ).toFilePath (),
69+ ),
6270 );
6371 });
6472}
You can’t perform that action at this time.
0 commit comments