testutil

package
v0.31.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestComment

func CreateTestComment(line int, text string) corereview.Comment

CreateTestComment creates a test comment with a fixed timestamp.

func RequireGolden

func RequireGolden(t *testing.T, output string)

RequireGolden compares output with a golden file using golden.RequireEqual().

func StripANSI

func StripANSI(content string) string

StripANSI removes ANSI escape codes from content. Re-exports terminal.StripANSI for convenience.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL