Documentation
¶
Overview ¶
Package testutil provides test helpers and fixtures for Telescope tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchmarkSpecs ¶
BenchmarkSpecs returns a curated set of specs for benchmarking (one per size tier).
func JSONLanguage ¶
func JSONLanguage() *tree_sitter.Language
JSONLanguage returns the tree-sitter JSON language.
func ParseJSON ¶
func ParseJSON(t *testing.T, content []byte) *tree_sitter.Tree
ParseJSON parses JSON content into a tree-sitter tree.
func ParseYAML ¶
func ParseYAML(t *testing.T, content []byte) *tree_sitter.Tree
ParseYAML parses YAML content into a tree-sitter tree.
func YAMLLanguage ¶
func YAMLLanguage() *tree_sitter.Language
YAMLLanguage returns the tree-sitter YAML language.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.