diff --git a/tools/unit-tests/interpreter-test.ts b/tools/unit-tests/interpreter-test.ts index 4874b27e..114ed759 100644 --- a/tools/unit-tests/interpreter-test.ts +++ b/tools/unit-tests/interpreter-test.ts @@ -93,7 +93,8 @@ describe(Interpreter.name, () => { evaluate("eval('1 + 2')")?.should.equal(3); }); it("evaluates intrinsics", () => { - evaluate("__version")?.should.equal("v" + pkg.version); + evaluate("version$")?.should.equal("v" + pkg.version); + evaluate("filename$")?.should.equal("test"); }); describe("evaluates general tests (tests/)", () => { testFiles.forEach((file) => {