testutil

package
v0.0.0-...-cacfd1a Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package testutil contains reusable utilities for unit tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectEquals

func ExpectEquals(t *testing.T, expected interface{}, actual interface{}, msg string)

ExpectEquals will report a test error if reflect.DeepEqual(expected, actual) is false.

func ExpectStringEquals

func ExpectStringEquals(t *testing.T, expected string, actual string, msg string)

ExpectStringEquals will report a test error if the strings expected and actual differ.

Types

This section is empty.

Jump to

Keyboard shortcuts

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