Skip to content

Commit 6d595c0

Browse files
author
Ian Maciel
committed
Add tests to deferred components
1 parent 44c21f1 commit 6d595c0

File tree

5 files changed

+468
-0
lines changed

5 files changed

+468
-0
lines changed

packages/core/test/assets_gen_test.dart

+10
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,16 @@ void main() {
134134
await expectedAssetsGen(pubspec, generated, fact);
135135
});
136136

137+
test('Assets with deferred components assets', () async {
138+
const pubspec = 'test_resources/pubspec_assets_deferred_components.yaml';
139+
const fact =
140+
'test_resources/actual_data/assets_deferred_components.gen.dart';
141+
const generated =
142+
'test_resources/lib/gen/assets_deferred_components.gen.dart';
143+
144+
await expectedAssetsGen(pubspec, generated, fact);
145+
});
146+
137147
test('Assets with duplicate flavoring entries', () async {
138148
const pubspec =
139149
'test_resources/pubspec_assets_flavored_duplicate_entry.yaml';

0 commit comments

Comments
 (0)