From fd849062437a4b37ae4c795b5872ecd048c188cd Mon Sep 17 00:00:00 2001 From: filmaj Date: Sun, 6 Apr 2025 18:24:17 -0400 Subject: [PATCH 1/2] test: nested semicolons fail lexing --- test/00-lexer-test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/00-lexer-test.js b/test/00-lexer-test.js index 1811e23..1391eb2 100644 --- a/test/00-lexer-test.js +++ b/test/00-lexer-test.js @@ -14,6 +14,10 @@ false false false # comment with spaces foo bar + +thing + nested thing + semi;colons ` test('lex', t => { From b4441da83903ae9597ab10cfb433c845cc6cb512 Mon Sep 17 00:00:00 2001 From: filmaj Date: Sun, 6 Apr 2025 18:44:33 -0400 Subject: [PATCH 2/2] adding faucet to show that tests fail --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 85e15ea..c319f8c 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "deno:test": "deno test -A --unstable mod.test.ts", "deno:fmt": "deno fmt mod.ts && deno fmt mod.test.ts", "lint": "eslint . --fix", - "test:unit": "cross-env tape 'test/*-test.js' | tap-arc", - "coverage": "nyc --reporter=lcov --reporter=text-summary npm run test:unit", + "test:unit": "cross-env tape 'test/*-test.js' | faucet", + "coverage": "nyc --reporter=lcov --reporter=text npm run test:unit", "test:nolint": "npm run coverage", "test": "npm run lint && npm run coverage", "rc": "npm version prerelease --preid RC", @@ -36,6 +36,7 @@ "browserify": "~17.0.0", "cross-env": "~7.0.3", "eslint": "~9.1.1", + "faucet": "~0.0.4", "js-yaml": "~4.1.0", "nyc": "^15.1.0", "rollup": "^3.27.0",