testutil

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package testutil implements various utilities to reduce boilerplate in unit tests a la testify.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireEqualEmptyNil

func RequireEqualEmptyNil(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})

RequireEqualEmptyNil is a version of require.Equal, but considers nil slices/maps to be equal to empty slices/maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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