wip tree-sitter
This commit is contained in:
15
tree-sitter/bindings/go/binding_test.go
generated
Normal file
15
tree-sitter/bindings/go/binding_test.go
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
package tree_sitter_crepuscular_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
tree_sitter "github.com/tree-sitter/go-tree-sitter"
|
||||
tree_sitter_crepuscular "gitea.vxcc.dev/alexander.nutz/beginner-friendly-lang/bindings/go"
|
||||
)
|
||||
|
||||
func TestCanLoadGrammar(t *testing.T) {
|
||||
language := tree_sitter.NewLanguage(tree_sitter_crepuscular.Language())
|
||||
if language == nil {
|
||||
t.Errorf("Error loading Crepuscular grammar")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user