wiggle tests: fixes for new syntax

This commit is contained in:
Pat Hickey
2021-03-04 17:27:34 -08:00
parent f11cd8e7b1
commit c4d8e2323a
14 changed files with 139 additions and 17 deletions

View File

@@ -13,7 +13,6 @@ mod enum_test {
$2big
)
)",
ctx: DummyCtx,
});
}
@@ -31,7 +30,6 @@ mod module_trait_fn_and_arg_test {
(param $virtual u32)
)
)",
ctx: WasiCtx,
});
impl<'a> self_::Self_ for WasiCtx<'a> {
#[allow(unused_variables)]
@@ -51,7 +49,6 @@ mod struct_test {
(field $mut s32)
)
)",
ctx: DummyCtx,
});
}
@@ -59,6 +56,5 @@ mod struct_test {
mod union_test {
wiggle::from_witx!({
witx: ["$CARGO_MANIFEST_DIR/tests/keywords_union.witx"],
ctx: DummyCtx,
});
}