testhelpers

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recurse

func Recurse(depth int, f func())

Recurse calls itself 'depth' times then executes 'f'. Useful for testing things where stack size matters.

func RemoveLines

func RemoveLines(str string, lines ...int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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