File: binding_test.go

package info (click to toggle)
tree-sitter-sdml 0.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,504 kB
  • sloc: ansic: 21,145; javascript: 1,141; lisp: 304; makefile: 250; python: 112; cpp: 14; sh: 1
file content (15 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package tree_sitter_sdml_test

import (
	"testing"

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

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