tutil

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package tutil implements testing utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorContains

func ErrorContains(out error, want string) bool

ErrorContains checks if an error message contains a string.

func Fixture

func Fixture(t *testing.T, path string) []byte

Fixture returns the byte slice of a test fixture.

Types

This section is empty.

Jump to

Keyboard shortcuts

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