Skip to content

Commit

Permalink
Fix some test code
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 25, 2024
1 parent 952398c commit 7f7154b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/test-helpers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub fn run_component_codegen_test(
let world_name = &resolve.worlds[world].name;
let mut wasm = wit_component::dummy_module(&resolve, world);
let encoded =
wit_component::metadata::encode(&resolve, world, StringEncoding::UTF8, None, None).unwrap();
wit_component::metadata::encode(&resolve, world, StringEncoding::UTF8, None).unwrap();
let section = wasm_encoder::CustomSection {
name: std::borrow::Cow::Borrowed("component-type"),
data: std::borrow::Cow::Borrowed(&encoded),
Expand Down

0 comments on commit 7f7154b

Please sign in to comment.