testutils

package
v0.59.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setenv

func Setenv(t *testing.T, key, value string)

Setenv set environment variable temporarily for testing note: - not safe in parallel (when t.Parallel() is called before) - should not use in Fuzz func - use official t.Setenv() when upgrading to go 1.17+

Types

This section is empty.

Jump to

Keyboard shortcuts

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