File tree 1 file changed +6
-6
lines changed
native_toolchain_rust/test 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -132,18 +132,18 @@ void main() async {
132
132
'windows project' ,
133
133
() async {
134
134
await withFlutterExampleProject ((uri) async {
135
- for (final config in ['debug ' , 'profile ' , 'release ' ]) {
135
+ for (final config in ['Debug ' , 'Profile ' , 'Release ' ]) {
136
136
await runCommand (
137
137
'flutter' ,
138
- ['build' , 'windows' , '--$config ' ],
138
+ ['build' , 'windows' , '--${ config . toLowerCase ()} ' ],
139
139
workingDirectory: uri.toFilePath (),
140
140
);
141
141
142
142
// Check if the library is built
143
- // final library = File.fromUri(uri.resolve(
144
- // 'build/app/intermediates/merged_jni_libs /$config/out/arm64-v8a/libflutter_ffi_plugin.so ',
145
- // ));
146
- // expect(library.existsSync(), isTrue);
143
+ final library = File .fromUri (uri.resolve (
144
+ 'build/windows/${ Architecture . current }/runner /$config /flutter_ffi_plugin.dll ' ,
145
+ ));
146
+ expect (library.existsSync (), isTrue);
147
147
}
148
148
});
149
149
},
You can’t perform that action at this time.
0 commit comments