We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f40ab36 commit 90c132eCopy full SHA for 90c132e
test/flutter_gen_test.dart
@@ -146,6 +146,14 @@ void main() {
146
});
147
148
test('Assets with No inegrations on pubspec.yaml', () async {
149
+ await FlutterGenerator(
150
+ File('test_resources/pubspec_assets_no_integrations.yaml'))
151
+ .build();
152
+ expect(
153
+ File('test_resources/lib/gen/assets.gen.dart').readAsStringSync(),
154
+ isNotEmpty,
155
+ );
156
+
157
final pubspec = File('test_resources/pubspec_assets_no_integrations.yaml');
158
final config = await Config(pubspec).load();
159
final formatter = DartFormatter(pageWidth: config.flutterGen.lineLength);
0 commit comments