// tests the correct payload length of 4
tests the correct payload length of 4
tests the correct payload length of 4
fn sys_api_call_arg_data_size() {
    with_hypervisor(|hypervisor, tmp_path| {
        assert_eq!(
            execute_update(
                &hypervisor,
                r#"
                (module
                  (import "ic0" "msg_arg_data_size" (func (;0;) (result i32)))
                  (func (;1;)
                    block
                        call 0
                        i32.const 4
                        i32.eq
                        br_if 0
                        unreachable
                    end)
                  (export "canister_update test" (func 1)))"#,
                "test",
                vec![0, 1, 2, 3],
                tmp_path,
            )
            .2,
            CallContextAction::NoResponse {
                refund: Cycles::from(0),
            },
        );
    });
}
fn sys_api_call_arg_data_size ( ) { with_hypervisor ( | hypervisor , tmp_path | { assert_eq ! ( execute_update ( hypervisor r#"
                (module
                  (import "ic0" "msg_arg_data_size" (func (;0;) (result i32)))
                  (func (;1;)
                    block
                        call 0
                        i32.const 4
                        i32.eq
                        br_if 0
                        unreachable
                    end)
                  (export "canister_update test" (func 1)))"# " " vec [ 0 1 2 3 ] tmp_path ) 2 CallContextAction NoResponse { refund Cycles from ( 0 ) } ) ; } ) ; }
tests the correct payload length of 4
tests the correct payload length of 4