Skip to content

Commit

Permalink
cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron1024 committed Jul 12, 2024
1 parent 78547c2 commit c0cd67b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions proptest-macro/src/property_test/codegen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,8 @@ fn test_attr() -> Attribute {

#[cfg(test)]
mod tests {
use quote::ToTokens;
use syn::{parse2, parse_quote, parse_str, ItemStruct};

use super::*;
use syn::{parse2, parse_quote, parse_str, ItemStruct};

/// Simple helper that parses a function, and validates that the struct name and fields are
/// correct
Expand Down Expand Up @@ -162,6 +160,7 @@ mod tests {
#[cfg(test)]
mod snapshot_tests {
use super::*;
use syn::parse_str;

macro_rules! snapshot_test {
($name:ident) => {
Expand Down
2 changes: 1 addition & 1 deletion proptest-macro/src/property_test/tests/snapshot_tests.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use syn::{parse_quote, ItemFn};
use syn::parse_quote;

use crate::property_test::{codegen, options::Options};

Expand Down

0 comments on commit c0cd67b

Please sign in to comment.