Init tree-sitter project
This commit is contained in:
parent
da3d0cd087
commit
d24c53e0f9
30 changed files with 905 additions and 0 deletions
12
bindings/python/tests/test_binding.py
generated
Normal file
12
bindings/python/tests/test_binding.py
generated
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from unittest import TestCase
|
||||
|
||||
from tree_sitter import Language, Parser
|
||||
import tree_sitter_vvk
|
||||
|
||||
|
||||
class TestLanguage(TestCase):
|
||||
def test_can_load_grammar(self):
|
||||
try:
|
||||
Parser(Language(tree_sitter_vvk.language()))
|
||||
except Exception:
|
||||
self.fail("Error loading Vvk grammar")
|
||||
Loading…
Add table
Add a link
Reference in a new issue