mirror of
https://github.com/elladunbar/tree-sitter-zanscript.git
synced 2025-11-05 15:19:55 -06:00
Corrected all your language name references
This commit is contained in:
parent
9392139a9c
commit
073ab245c7
22 changed files with 42 additions and 176 deletions
8
bindings/go/binding_test.go
generated
8
bindings/go/binding_test.go
generated
|
|
@ -1,15 +1,15 @@
|
|||
package tree_sitter_your_language_name_test
|
||||
package tree_sitter_zanscript_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
tree_sitter "github.com/tree-sitter/go-tree-sitter"
|
||||
tree_sitter_your_language_name "github.com/tree-sitter/tree-sitter-YOUR_LANGUAGE_NAME/bindings/go"
|
||||
tree_sitter_zanscript "github.com/tree-sitter/tree-sitter-zanscript/bindings/go"
|
||||
)
|
||||
|
||||
func TestCanLoadGrammar(t *testing.T) {
|
||||
language := tree_sitter.NewLanguage(tree_sitter_your_language_name.Language())
|
||||
language := tree_sitter.NewLanguage(tree_sitter_zanscript.Language())
|
||||
if language == nil {
|
||||
t.Errorf("Error loading YourLanguageName grammar")
|
||||
t.Errorf("Error loading Zanscript grammar")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue