baseline

package
v0.0.0-...-c0ef09c Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const NoContent = "<no content>"

Variables

This section is empty.

Functions

func DiffText

func DiffText(oldName string, newName string, expected string, actual string) string

func Run

func Run(t *testing.T, fileName string, actual string, opts Options)

func RunAgainstSubmodule

func RunAgainstSubmodule(t *testing.T, fileName string, actual string, opts Options)

Types

type Options

type Options struct {
	Subfolder           string
	IsSubmodule         bool
	IsSubmoduleAccepted bool
	DiffFixupOld        func(string) string
	SkipDiffWithOld     bool
}

Jump to

Keyboard shortcuts

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