You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue occurs in a number of grammars, so I'm raising it here first before creating pull requests for the individual repos.
When running npm test e.g. on the tree-sitter-python grammar, the test fails:
script/parse-examples: Zeile 38: printf: 100.00000000000000000000: Ungültige Zahl.
Successfully parsed 0,00% of examples/numpy (407 of 407 files)
npm ERR! Test failed. See above for more details.
This issue occurs in a number of grammars, so I'm raising it here first before creating pull requests for the individual repos.
When running
npm test
e.g. on thetree-sitter-python
grammar, the test fails:This is my current setup:
The issue is caused by the
script/parse-examples
scripts of the Haskell, Ruby, Python, JavaScript, Rust, Go, Java and Julia grammars.Options for fixing this:
LC_NUMERIC=C
in the scriptpackage.json
, change the test script call totree-sitter test && LANG=C script/parse-examples
LANG=C npm test
If there is an agreement, I'll create pull requests. Option 1 seems the most robust solution to me.
The text was updated successfully, but these errors were encountered: