File: binding_test.go

package info (click to toggle)
tree-sitter-ruby 0.23.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,780 kB
  • sloc: ansic: 472,675; javascript: 1,093; lisp: 190; makefile: 101; python: 88; ruby: 56; cpp: 14; sh: 9
file content (15 lines) | stat: -rw-r--r-- 354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package tree_sitter_ruby_test

import (
	"testing"

	tree_sitter "github.com/tree-sitter/go-tree-sitter"
	tree_sitter_ruby "github.com/tree-sitter/tree-sitter-ruby/bindings/go"
)

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