testutil

package
v0.0.0-...-faba519 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(t *testing.T, executable bool, contents string) (string, error)

CreateFile is used to create a temp file with the given contents and executable permissions. It returns the name of the created file or error if file creation has failed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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