mirror of
https://github.com/elladunbar/tree-sitter-zanscript.git
synced 2025-11-05 23:29:54 -06:00
First commit
This commit is contained in:
commit
9392139a9c
47 changed files with 9107 additions and 0 deletions
11
bindings/python/tests/test_binding.py
generated
Normal file
11
bindings/python/tests/test_binding.py
generated
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from unittest import TestCase
|
||||
|
||||
import tree_sitter, tree_sitter_your_language_name
|
||||
|
||||
|
||||
class TestLanguage(TestCase):
|
||||
def test_can_load_grammar(self):
|
||||
try:
|
||||
tree_sitter.Language(tree_sitter_your_language_name.language())
|
||||
except Exception:
|
||||
self.fail("Error loading YourLanguageName grammar")
|
||||
Loading…
Add table
Add a link
Reference in a new issue