Format with Dart 3.13
This commit is contained in:
parent
d55aaaa40a
commit
738154e84c
1 changed files with 10 additions and 14 deletions
|
|
@ -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',
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue