tree-sitter-bp/bindings/go/binding_test.go
Bruno BELANYI bc4db561ca
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Bump flake inputs
This means regenerating all the tree-sitter files, and adding newly
generated outputs (mostly new bindings).

The `--apply-all-captures` flag has been removed, it is now the default
(and only) matching behaviour.
2024-04-22 09:49:18 +00:00

16 lines
315 B
Go

package tree_sitter_bp_test
import (
"testing"
tree_sitter "github.com/smacker/go-tree-sitter"
"git.belanyi.fr/ambroisie/tree-sitter-bp"
)
func TestCanLoadGrammar(t *testing.T) {
language := tree_sitter.NewLanguage(tree_sitter_bp.Language())
if language == nil {
t.Errorf("Error loading Bp grammar")
}
}