mirror of
https://github.com/elladunbar/tree-sitter-hy.git
synced 2025-11-05 23:09:54 -06:00
Initial commit
This commit is contained in:
commit
a0e03ddd73
31 changed files with 948 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
|
||||
|
||||
import tree_sitter
|
||||
import tree_sitter_hy
|
||||
|
||||
|
||||
class TestLanguage(TestCase):
|
||||
def test_can_load_grammar(self):
|
||||
try:
|
||||
tree_sitter.Language(tree_sitter_hy.language())
|
||||
except Exception:
|
||||
self.fail("Error loading Hy grammar")
|
||||
Loading…
Add table
Add a link
Reference in a new issue