testutil

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTestHomeDir

func SetTestHomeDir(t *testing.T, dir string)

SetTestHomeDir sets the home directory for tests to work cross-platform. Both HOME (Unix) and USERPROFILE (Windows) are set so os.UserHomeDir() works everywhere.

Types

This section is empty.

Jump to

Keyboard shortcuts

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