test: Fix a type mismatch in implementation of Arbitrary

This commit is contained in:
Chris Hennick 2024-06-13 21:32:43 -07:00
parent 19e5af8406
commit 40d2da84f7
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -387,7 +387,7 @@ impl<'a> arbitrary::Arbitrary<'a> for FileOptions<'a, ExtendedFileOptions> {
options
.add_extra_data(
u16::arbitrary(u)?,
&Vec::<u8>::arbitrary(u)?,
Box::<[u8]>::arbitrary(u)?,
bool::arbitrary(u)?,
)
.map_err(|_| arbitrary::Error::IncorrectFormat)?;