Closed Ziqi-Yang closed 11 months ago
steps to reproduce:
# git pull repo # change current directory to project root directory tree-sitter test # or `tree-sitter test | less -R` since the output is quite long
Then it shows that all tests have errors. Sample errors:
1. Inline code expression: (source_file (identifier)) // red (markup // green (text) (space) (embedded_code_expr (code_ident)) (space) (text))) 2. Identifier: (source_file (identifier)) // red (markup // green (embedded_code_expr (code_ident)))) 3. Empty content block: (source_file (content_block)) // red (markup // green (embedded_code_expr (content_block)))) 4. Content block with content: (source_file (content_block)) // red (markup // green (embedded_code_expr (content_block (markup (text)))))) // ...
I've also tried this procedures(below), but the errors remained:
npm install --save ./node_modules/tree-sitter-cli/tree-sitter test
Following the instructions you have given, I can't reproduce this problem on my machine. No tests fail.
steps to reproduce:
Then it shows that all tests have errors.
Sample errors:
I've also tried this procedures(below), but the errors remained: