mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 15:27:45 +03:00
correct host.test.js
This commit is contained in:
parent
b1a17b5a6f
commit
91bf84719f
@ -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…
Reference in New Issue
Block a user