Format with Dart 3.13

This commit is contained in:
Tag 2026-09-22 20:04:14 -06:00
commit 738154e84c

View file

@ -65,18 +65,14 @@ void main() {
), ),
}; };
group( group('a frame libzstd wrote decodes back to what went in', () {
'a frame libzstd wrote decodes back to what went in', for (final shape in shapes.entries) {
() { test(shape.key, () {
for (final shape in shapes.entries) { final frame = zstdCli(shape.value.arguments, shape.value.input);
test(shape.key, () { final out = ZstdDecoder().decode(frame);
final frame = zstdCli(shape.value.arguments, shape.value.input); expect(out.length, shape.value.input.length);
final out = ZstdDecoder().decode(frame); expect(out, orderedEquals(shape.value.input));
expect(out.length, shape.value.input.length); }, timeout: const Timeout(Duration(minutes: 2)));
expect(out, orderedEquals(shape.value.input)); }
}, timeout: const Timeout(Duration(minutes: 2))); }, skip: hasZstdCli ? null : 'the zstd CLI is not on the path');
}
},
skip: hasZstdCli ? null : 'the zstd CLI is not on the path',
);
} }