aboutsummaryrefslogtreecommitdiff
path: root/bindings/go/binding_test.go
blob: 6e7fa2ee9433b164210d631121ba33daa14841de (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/tree-sitter/go-tree-sitter"
	tree_sitter_gsp "github.com/tree-sitter/tree-sitter-gsp/bindings/go"
)

func TestCanLoadGrammar(t *testing.T) {
	language := tree_sitter.NewLanguage(tree_sitter_gsp.Language())
	if language == nil {
		t.Errorf("Error loading Gsp grammar")
	}
}