Skip to content

Commit

Permalink
[fix] update proptest import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-russo committed Dec 15, 2024
1 parent eb8b595 commit 0b443b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proptest-derive/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test! {
#[allow(non_upper_case_globals)]
#[allow(clippy::arc_with_non_send_sync)]
const _: () = {
extern crate proptest as _proptest;
use proptest as _proptest;
impl _proptest::arbitrary::Arbitrary for MyUnitStruct {
type Parameters = ();
type Strategy = fn() -> Self;
Expand All @@ -104,7 +104,7 @@ test! {
#[allow(non_upper_case_globals)]
#[allow(clippy::arc_with_non_send_sync)]
const _: () = {
extern crate proptest as _proptest;
use proptest as _proptest;
impl _proptest::arbitrary::Arbitrary for MyTupleUnitStruct {
type Parameters = ();
type Strategy = fn() -> Self;
Expand All @@ -126,7 +126,7 @@ test! {
#[allow(non_upper_case_globals)]
#[allow(clippy::arc_with_non_send_sync)]
const _: () = {
extern crate proptest as _proptest;
use proptest as _proptest;
impl _proptest::arbitrary::Arbitrary for MyNamedUnitStruct {
type Parameters = ();
type Strategy = fn() -> Self;
Expand Down

0 comments on commit 0b443b4

Please sign in to comment.