diff --git a/juniper/src/macros/tests/object.rs b/juniper/src/macros/tests/object.rs index 2fb14524..c1597a0c 100644 --- a/juniper/src/macros/tests/object.rs +++ b/juniper/src/macros/tests/object.rs @@ -84,7 +84,6 @@ graphql_object!(CommasWithTrailing: () |&self| { }); struct CommasOnMeta; - graphql_object!(CommasOnMeta: () |&self| { interfaces: [Interface], description: "A description", diff --git a/juniper/src/macros/tests/union.rs b/juniper/src/macros/tests/union.rs index 24b3a692..92a0ec97 100644 --- a/juniper/src/macros/tests/union.rs +++ b/juniper/src/macros/tests/union.rs @@ -53,7 +53,7 @@ impl Concrete { } } -graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| { +graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| { instance_resolvers: |&_| { &Concrete => match *self { CustomName::Concrete(ref c) => Some(c) } }