tst

package module
v0.0.0-...-a653250 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 1 Imported by: 0

README

Tiny library for tests

This is a tiny library for some repetitive actions I ended up always writing in my tests.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ok

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

If err is not nil, calls t.Fatal(err)

func True

func True(t *testing.T, expr bool, fmtMsg string, vals ...interface{})

If expr is false, calls t.Error()

Types

This section is empty.

Jump to

Keyboard shortcuts

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