Skip to content

Commit 0bf7038

Browse files
committed
2 parents f2b1733 + 51261b8 commit 0bf7038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compiler.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ describe("The compiler", () => {
2525
})
2626
it("generates js code when given the js option", () => {
2727
const compiled = compile(sampleProgram, "js")
28-
assert(compiled.startsWith("console.log(0)"))
28+
assert(compiled.includes("funktionPrint(0);"))
2929
})
3030
})

0 commit comments

Comments
 (0)