File: binding_test.go

package info (click to toggle)
tree-sitter-vimdoc 3.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 840 kB
  • sloc: ansic: 16,286; javascript: 179; makefile: 119; lisp: 52; python: 50; cpp: 14; sh: 9
file content (15 lines) | stat: -rw-r--r-- 324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package tree_sitter_vimdoc_test

import (
	"testing"

	tree_sitter "github.com/smacker/go-tree-sitter"
	"github.com/neovim/tree-sitter-vimdoc"
)

func TestCanLoadGrammar(t *testing.T) {
	language := tree_sitter.NewLanguage(tree_sitter_vimdoc.Language())
	if language == nil {
		t.Errorf("Error loading Vimdoc grammar")
	}
}