Skip to content

Commit 51261b8

Browse files
committed
fixed compiler test
1 parent d0e5b41 commit 51261b8

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)