correct host.test.js

This commit is contained in:
Brendan Hansknecht 2022-07-03 10:28:56 -07:00
parent b1a17b5a6f
commit 91bf84719f
No known key found for this signature in database
GPG Key ID: 0EA784685083E75B

View File

@ -16,7 +16,7 @@ global.fetch = (filename) =>
const { roc_web_platform_run } = require("./host");
roc_web_platform_run("./rocLovesWebAssembly.wasm", (string_from_roc) => {
const expected = "Hello, World!\n";
const expected = "Roc <3 Web Assembly!\n";
if (string_from_roc !== expected) {
console.error(`Expected "${expected}", but got "${string_from_roc}"`);
process.exit(1);