tests: update ExternalName api

This commit is contained in:
Pat Hickey
2017-11-22 17:37:08 -08:00
committed by Jakob Stoklund Olesen
parent 803b83c87a
commit eb49d9f8bf
4 changed files with 7 additions and 7 deletions

View File

@@ -613,7 +613,7 @@ mod tests {
sig.params.push(AbiParam::new(I32));
let mut il_builder = ILBuilder::<Variable>::new();
let mut func = Function::with_name_signature(ExternalName::new("sample_function"), sig);
let mut func = Function::with_name_signature(ExternalName::testcase("sample"), sig);
{
let mut builder = FunctionBuilder::<Variable>::new(&mut func, &mut il_builder);