mirror of
https://codeberg.org/ProgramSnail/tree-sitter-lang.git
synced 2025-12-07 15:18:56 +00:00
tree sitter update
This commit is contained in:
parent
c0377d1a1b
commit
aaabbb5d6a
22 changed files with 505 additions and 45 deletions
15
bindings/go/binding_test.go
generated
Normal file
15
bindings/go/binding_test.go
generated
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package tree_sitter_lang_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
tree_sitter "github.com/smacker/go-tree-sitter"
|
||||
"github.com/tree-sitter/tree-sitter-lang"
|
||||
)
|
||||
|
||||
func TestCanLoadGrammar(t *testing.T) {
|
||||
language := tree_sitter.NewLanguage(tree_sitter_lang.Language())
|
||||
if language == nil {
|
||||
t.Errorf("Error loading Lang grammar")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue