chore: allow clippy::arc_with_non_send_sync in tests

This commit is contained in:
rvcas 2023-09-13 19:07:45 -04:00
parent d808197507
commit 7b915b7dcf
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 2 additions and 0 deletions

View File

@ -1336,6 +1336,7 @@ pub mod tests {
) )
} }
#[allow(clippy::arc_with_non_send_sync)]
fn arbitrary_data() -> impl Strategy<Value = Data> { fn arbitrary_data() -> impl Strategy<Value = Data> {
let leaf = prop_oneof![Just(Data::Opaque), Just(Data::Bytes), Just(Data::Integer)]; let leaf = prop_oneof![Just(Data::Opaque), Just(Data::Bytes), Just(Data::Integer)];
@ -1362,6 +1363,7 @@ pub mod tests {
}) })
} }
#[allow(clippy::arc_with_non_send_sync)]
fn arbitrary_schema() -> impl Strategy<Value = Schema> { fn arbitrary_schema() -> impl Strategy<Value = Schema> {
prop_compose! { prop_compose! {
fn data_strategy()(data in arbitrary_data()) -> Schema { fn data_strategy()(data in arbitrary_data()) -> Schema {