testutil

package
v0.0.0-...-8cba18c Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 3 Imported by: 0

README

go-common/testutil

This repository contains the go-common/testutil library.

To install:

go get github.com/ugorji/go-common/testutil

Package Documentation

Package testutil provides testing utilities.

Exported Package API

func CheckEqual(t *testing.T, v1 interface{}, v2 interface{}, desc string) (err error)
func CheckErr(t *testing.T, err error)
func Fail(t *testing.T)
func Log(x interface{}, format string, args ...interface{})

Documentation

Overview

Package testutil provides testing utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEqual

func CheckEqual(t *testing.T, v1 interface{}, v2 interface{}, desc string) (err error)

func CheckErr

func CheckErr(t *testing.T, err error)

func Fail

func Fail(t *testing.T)

func Log

func Log(x interface{}, format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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