From e82031502b0b5a3c3885403c334f7495bdd9cae5 Mon Sep 17 00:00:00 2001 From: Soares Chen Date: Thu, 4 Jul 2024 12:49:14 +0800 Subject: [PATCH] Fix test --- crates/cgp-field-macro-lib/src/tests/field.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/crates/cgp-field-macro-lib/src/tests/field.rs b/crates/cgp-field-macro-lib/src/tests/field.rs index fe380eb..72ad46c 100644 --- a/crates/cgp-field-macro-lib/src/tests/field.rs +++ b/crates/cgp-field-macro-lib/src/tests/field.rs @@ -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; @@ -57,14 +52,6 @@ fn test_generic_derive_fields() { }); let expected = quote! { - pub struct Foo - where - FooParamA: Eq, - { - pub bar: Bar, - pub baz: Baz, - } - impl HasField<(Char<'b'>, Char<'a'>, Char<'r'>)> for Foo where