blob: 911fd9b145c3a5fb9a7e043ef39d2bb3ecceacc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package tree_sitter_wmap_test
import (
"testing"
tree_sitter "github.com/tree-sitter/go-tree-sitter"
tree_sitter_wmap "git.sr.ht/~rbdr/tree-sitter-wmap/bindings/go"
)
func TestCanLoadGrammar(t *testing.T) {
language := tree_sitter.NewLanguage(tree_sitter_wmap.Language())
if language == nil {
t.Errorf("Error loading Wmap grammar")
}
}
|