Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Dec 20, 2023
1 parent cc0ad7e commit 88a57a3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions yara-x/src/wasm/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,38 +470,38 @@ mod tests {
assert_eq!(
text,
r#"(module
(func (;135;) (type 1) (result i32)
(func (;137;) (type 1) (result i32)
i32.const 0
global.set 2
i32.const 0
global.set 3
call 136
call 137
call 138
call 139
global.get 3
)
(func (;136;) (type 0)
(func (;138;) (type 0)
block ;; label = @1
call 138
call 140
end
block ;; label = @1
call 139
call 141
end
)
(func (;137;) (type 0)
(func (;139;) (type 0)
block ;; label = @1
call 140
call 142
end
)
(func (;138;) (type 0)
(func (;140;) (type 0)
i32.const 4
)
(func (;139;) (type 0)
(func (;141;) (type 0)
i32.const 5
)
(func (;140;) (type 0)
(func (;142;) (type 0)
i32.const 6
)
(export "main" (func 135))
(export "main" (func 137))
)"#
);
}
Expand Down

0 comments on commit 88a57a3

Please sign in to comment.