File: binding_test.go

package info (click to toggle)
tree-sitter-powershell 0.25.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,472 kB
  • sloc: ansic: 128,509; javascript: 1,059; lisp: 113; makefile: 106; python: 91; cpp: 13; sh: 9
file content (15 lines) | stat: -rw-r--r-- 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package tree_sitter_powershell_test

import (
	"testing"

	tree_sitter "github.com/tree-sitter/go-tree-sitter"
	tree_sitter_powershell "github.com/airbus-cert/tree-sitter-powershell/bindings/go"
)

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