WASM: NFC. Rename string import/export functions

This commit is contained in:
Igor Laevsky
2021-07-23 20:46:35 +03:00
committed by TeamCityServer
parent ebde1e5491
commit 2538caa84f
6 changed files with 7 additions and 7 deletions
@@ -151,7 +151,7 @@ abstract class BasicWasmBoxTest(
const wasmModule = new WebAssembly.Module(wasmBinary);
wasmInstance = new WebAssembly.Instance(wasmModule, { runtime, js_code });
const actualResult = importStringToJs(wasmInstance.exports.$testFunction());
const actualResult = importStringFromWasm(wasmInstance.exports.$testFunction());
if (actualResult !== "OK")
throw `Wrong box result '${'$'}{actualResult}'; Expected "OK"`;
""".trimIndent()