blob: 9da04021a1b23869048573df24c02de5ee22252d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
from unittest import TestCase
import tree_sitter, tree_sitter_gsp
class TestLanguage(TestCase):
def test_can_load_grammar(self):
try:
tree_sitter.Language(tree_sitter_gsp.language())
except Exception:
self.fail("Error loading Gsp grammar")
|