Update tests

This commit is contained in:
topecongiro 2017-06-16 18:56:38 +09:00
parent b048fe6b35
commit 9b73490491
2 changed files with 5 additions and 14 deletions

View File

@ -128,11 +128,8 @@ fn issue470() {
{ {
{ {
{ {
let explicit_arg_decls = let explicit_arg_decls = explicit_arguments.into_iter().enumerate().map(
explicit_arguments.into_iter().enumerate().map(|( |(index, (ty, pattern))| {
index,
(ty, pattern),
)| {
let lvalue = Lvalue::Arg(index as u32); let lvalue = Lvalue::Arg(index as u32);
block = this.pattern( block = this.pattern(
block, block,
@ -141,7 +138,8 @@ fn issue470() {
&lvalue, &lvalue,
); );
ArgDecl { ty: ty } ArgDecl { ty: ty }
}); },
);
} }
} }
} }

View File

@ -79,14 +79,7 @@ fn main() {
), ),
Variantttttttttttttttttttttttt => ( Variantttttttttttttttttttttttt => (
"variant", "variant",
vec![ vec!["id", "name", "qualname", "type", "value", "scopeid"],
"id",
"name",
"qualname",
"type",
"value",
"scopeid",
],
true, true,
true, true,
), ),