Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Nak committed Sep 25, 2024
1 parent 10c6829 commit ae15114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ir/src/builder/func_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ mod tests {

#[test]
fn entry_block_with_return() {
let (evm, mut builder) = test_func_builder(&[Type::I32, Type::I64], Type::Void);
let (evm, mut builder) = test_func_builder(&[], Type::I32);
let is = evm.inst_set();

let entry_block = builder.append_block();
Expand All @@ -296,7 +296,7 @@ mod tests {

#[test]
fn then_else_merge_block() {
let (evm, mut builder) = test_func_builder(&[Type::I32, Type::I64], Type::Void);
let (evm, mut builder) = test_func_builder(&[Type::I64], Type::Void);
let is = evm.inst_set();

let entry_block = builder.append_block();
Expand Down

0 comments on commit ae15114

Please sign in to comment.