Broken tests on master?
calebdw opened this issue ยท 6 comments
Hello!
Maybe it's just me, but there are 4 tests currently failing on master
. Git bisect shows that @amaanq's commit 6cd93c9 is the culprit (at least for some of the broken tests).
Steps to Reproduce:
I'm using:
Node: v20.8.1
Tree-sitter: 0.20.8
- checkout master
npm install
npm run build
npm run test
- fail
Running the above commands produces a diff on the generated files which suggests they weren't regenerated after one of the more recent commits.
Interestingly, I'm seeing the i
flags being removed from the grammar.json
which is likely the cause for some of the broken tests...
Tests
Case insensitive keywords
Readonly properties
Capitalized logical operators
Associativity of null-coalescence
use tree-sitter master, it supports the regex i flag
That would explain it---however, that requirement is not captured in package.json
What's an easy way to compile/install tree-sitter master?
yeah node and master are a bit disjunct atm, my hands are tied but I'd like a new release though
cargo install --git https://github.com/tree-sitter/tree-sitter
soon hopefully