Bruno BELANYI
1af33aeea1
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.
16 lines
315 B
Go
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")
|
|
}
|
|
}
|