blob: c4efff10f62e54cb748decaa1c04d5851d43b446 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package tree_sitter_gsp_test
import (
"testing"
tree_sitter "github.com/smacker/go-tree-sitter"
"github.com/tree-sitter/tree-sitter-gsp"
)
func TestCanLoadGrammar(t *testing.T) {
language := tree_sitter.NewLanguage(tree_sitter_gsp.Language())
if language == nil {
t.Errorf("Error loading Gsp grammar")
}
}
|