assert

package
v0.0.0-...-0ce9163 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

package assert

import "github.com/vivint/rothko/internal/assert"

package assert provides helper functions for tests.

Usage

func DeepEqual
func DeepEqual(t testing.TB, a, b interface{})
func Equal
func Equal(t testing.TB, a, b interface{})
func Error
func Error(t testing.TB, err error)
func Nil
func Nil(t testing.TB, a interface{})
func NoError
func NoError(t testing.TB, err error)
func NotNil
func NotNil(t testing.TB, a interface{})
func That
func That(t testing.TB, v bool)

Documentation

Overview

package assert provides helper functions for tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(t testing.TB, a, b interface{})

func Equal

func Equal(t testing.TB, a, b interface{})

func Error

func Error(t testing.TB, err error)

func Nil

func Nil(t testing.TB, a interface{})

func NoError

func NoError(t testing.TB, err error)

func NotNil

func NotNil(t testing.TB, a interface{})

func That

func That(t testing.TB, v bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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