13 lines
317 B
Python
Generated
13 lines
317 B
Python
Generated
from unittest import TestCase
|
|
|
|
import tree_sitter
|
|
import tree_sitter_crepuscular
|
|
|
|
|
|
class TestLanguage(TestCase):
|
|
def test_can_load_grammar(self):
|
|
try:
|
|
tree_sitter.Language(tree_sitter_crepuscular.language())
|
|
except Exception:
|
|
self.fail("Error loading Crepuscular grammar")
|