asserts

package
v14.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BranchExists

func BranchExists(t *testing.T, dir, expectedBranch string)

func FileExists

func FileExists(t *testing.T, dir, filename string)

func FileHasContent

func FileHasContent(t *testing.T, dir, filename, expectedContent string)

func IsGitRepo

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

func NoError

func NoError(err error)

func Paniced

func Paniced(t *testing.T)

Paniced verifies in tests that the unit test resulted in a panic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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