mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-15 21:23:57 +00:00
correct host.test.js
This commit is contained in:
parent
b1a17b5a6f
commit
91bf84719f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue