Skip to content

Commit baff94e

Browse files
committed
wip
1 parent f208290 commit baff94e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

native_toolchain_rust/test/build_test.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@ void main() async {
132132
'windows project',
133133
() async {
134134
await withFlutterExampleProject((uri) async {
135-
for (final config in ['debug', 'profile', 'release']) {
135+
for (final config in ['Debug', 'Profile', 'Release']) {
136136
await runCommand(
137137
'flutter',
138-
['build', 'windows', '--$config'],
138+
['build', 'windows', '--${config.toLowerCase()}'],
139139
workingDirectory: uri.toFilePath(),
140140
);
141141

142142
// 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);
147147
}
148148
});
149149
},

0 commit comments

Comments
 (0)