Files
plainleaf/common/expression_parser.test.ts
T
Zef HemelandGitHub 75471fa86b Object decorators (#995)
Implemented objectDecorators to replace pageDecorations in SETTINGS
2024-07-29 21:21:16 +02:00

8 lines
282 B
TypeScript

import { assertEquals } from "$std/testing/asserts.ts";
import { parseExpression } from "$common/expression_parser.ts";
Deno.test("Test expression parser", () => {
// Just a sanity check here
assertEquals(parseExpression("1 + 2"), ["+", ["number", 1], ["number", 2]]);
});