pub fn change_wasm(&mut self, wasm: &[u8]) -> TestingResult<()> {
        check_wasm(wasm, &self.options.supported_features)?;
        let module = compile(wasm, None)?;
        self.module = module;
        Ok(())
    }
/// change the wasm code for testing migrate
///
/// call this before `generate_instance` for testing `call_migrate`.
change the wasm code for testing migrate
call this before `generate_instance` for testing `call_migrate`.
change the wasm code for testing migrate call this before ` generate_instance ` for testing ` call_migrate ` .
pub fn change_wasm(&mut self, wasm: &[u8]) -> TestingResult<()> {
        check_wasm(wasm, &self.options.supported_features)?;
        let module = compile(wasm, None)?;
        self.module = module;
        Ok(())
    }
pub fn change_wasm ( & mut self , wasm : & [ u8 ] ) -> TestingResult < ( ) > { check_wasm ( wasm , & self . options . supported_features ) ? ; let module = compile ( wasm , None ) ? ; self . module = module ; Ok ( ( ) ) }
change the wasm code for testing migrate
call this before `generate_instance` for testing `call_migrate`.
change the wasm code for testing migrate call this before ` generate_instance ` for testing ` call_migrate ` .
&mut self
wasm
&[u8]