features

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireFormatGoSource

func RequireFormatGoSource(tb testing.TB, input string) string

RequireFormatGoSource formats go source code using `format.Source`.

func RequireRunApp

func RequireRunApp(tb testing.TB, args ...string) string

RequireRunApp is a test helper that runs the application with provided CLI arguments.

func RequireTempFile

func RequireTempFile(tb testing.TB, content []byte) (path string)

RequireTempFile creates a temporary file with a content. The file will be remove at cleanup step.

Types

This section is empty.

Jump to

Keyboard shortcuts

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