testutils

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StubConfig

func StubConfig(t *testing.T, cfgStr string)

StubConfig replaces the config.Read function with a function that returns a config object created from the given config string. It also sets up a cleanup function that restores the original config.Read function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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