Skip to content

Commit 28d2d51

Browse files
committed
s
1 parent 30962e7 commit 28d2d51

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

test/screenshot_test.dart

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,15 @@ void main() {
125125
'my_package',
126126
pubspecExtras: {
127127
'screenshots': [
128-
{'description': 'description', 'path': 's1/static.webp'},
128+
{'description': 'description', 'path': 'static.webp'},
129129
{'description': 'description', 'path': 's2/static.webp'},
130130
],
131131
},
132132
extraFiles: [
133-
d.dir('s1', [
134-
d.file(
135-
'static.webp',
136-
File(p.join(_testImagesDir, 'static.webp')).readAsBytesSync(),
137-
),
138-
]),
133+
d.file(
134+
'static.webp',
135+
File(p.join(_testImagesDir, 'static.webp')).readAsBytesSync(),
136+
),
139137
d.dir('s2', [
140138
d.file(
141139
'static.webp',
@@ -147,7 +145,7 @@ void main() {
147145

148146
await descriptor.create();
149147
final screenshots = [
150-
Screenshot('description', 's1/static.webp'),
148+
Screenshot('description', 'static.webp'),
151149
Screenshot('description', 's2/static.webp'),
152150
];
153151
final result = await processAllScreenshots(screenshots, descriptor.io.path);

0 commit comments

Comments
 (0)