Add tests for #2749
This commit is contained in:
parent
f390626778
commit
11835ce5ce
2 changed files with 30 additions and 0 deletions
|
@ -194,3 +194,13 @@ macro_rules! m {
|
|||
($x:) => {};
|
||||
($($foo:expr)()?) => {};
|
||||
}
|
||||
|
||||
// #2749
|
||||
macro_rules! foo {
|
||||
($(x)* {}) => {};
|
||||
($(x)* ()) => {};
|
||||
($(x)* []) => {};
|
||||
}
|
||||
macro_rules! __wundergraph_expand_sqlite_mutation {
|
||||
( $mutation_name:ident $((context = $($context:tt)*))*{ $( $entity_name:ident( $(insert = $insert:ident,)* $(update = $update:ident,)* $(delete = $($delete:tt)+)* ), )* } ) => {};
|
||||
}
|
||||
|
|
|
@ -226,3 +226,23 @@ macro_rules! m {
|
|||
($x:) => {};
|
||||
($($foo:expr)()?) => {};
|
||||
}
|
||||
|
||||
// #2749
|
||||
macro_rules! foo {
|
||||
($(x)* {}) => {};
|
||||
($(x)*()) => {};
|
||||
($(x)*[]) => {};
|
||||
}
|
||||
macro_rules! __wundergraph_expand_sqlite_mutation {
|
||||
(
|
||||
$mutation_name:ident $((context = $($context:tt)*))* {
|
||||
$(
|
||||
$entity_name:ident(
|
||||
$(insert = $insert:ident,)*
|
||||
$(update = $update:ident,)*
|
||||
$(delete = $($delete:tt)+)*
|
||||
),
|
||||
)*
|
||||
}
|
||||
) => {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue