Skip to content

test: nested semicolons fail lexing #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions test/00-lexer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ false false false

# comment with spaces
foo bar

thing
nested thing
semi;colons
`

test('lex', t => {
Expand Down
Loading