Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Jul 4, 2024
1 parent b13e152 commit e820315
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions crates/cgp-field-macro-lib/src/tests/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ fn test_basic_derive_fields() {
});

let expected = quote! {
pub struct Foo {
pub bar: Bar,
pub baz: Baz,
}

impl HasField<(Char<'b'>, Char<'a'>, Char<'r'>)> for Foo {
type Field = Bar;

Expand Down Expand Up @@ -57,14 +52,6 @@ fn test_generic_derive_fields() {
});

let expected = quote! {
pub struct Foo<FooParamA, FooParamB: Clone>
where
FooParamA: Eq,
{
pub bar: Bar<FooParamA>,
pub baz: Baz<String>,
}

impl<FooParamA, FooParamB: Clone> HasField<(Char<'b'>, Char<'a'>, Char<'r'>)>
for Foo<FooParamA, FooParamB>
where
Expand Down

0 comments on commit e820315

Please sign in to comment.