mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-07-01 23:52:02 +00:00
Fix tests.
This commit is contained in:
@ -82,7 +82,7 @@ fn wrong_import() {
|
||||
#[test]
|
||||
fn global_get_set() {
|
||||
let module = module()
|
||||
.with_global(GlobalEntry::new(GlobalType::new(ValueType::I32, true), InitExpr::new(vec![Opcode::I32Const(42)])))
|
||||
.with_global(GlobalEntry::new(GlobalType::new(ValueType::I32, true), InitExpr::new(vec![Opcode::I32Const(42), Opcode::End])))
|
||||
.function()
|
||||
.signature().return_type().i32().build()
|
||||
.body().with_opcodes(Opcodes::new(vec![
|
||||
|
Reference in New Issue
Block a user