xtesting/

directory
v0.0.0-...-ed9fe1d Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: BSD-3-Clause

Directories

Path Synopsis
Package assert provides the assersion feature for *testing.T You can use assert functions by `assert.New(t)` import ( "testing" "github.com/speedland/go/x/xtesting/assert" ) func TestSomething(t *testing.T){ assert := assert.New(t) assert.OK(true) assert.EqInt(1, 1) assert.EqStr("Expects", "Got", "Somthing wrong!") }
Package assert provides the assersion feature for *testing.T You can use assert functions by `assert.New(t)` import ( "testing" "github.com/speedland/go/x/xtesting/assert" ) func TestSomething(t *testing.T){ assert := assert.New(t) assert.OK(true) assert.EqInt(1, 1) assert.EqStr("Expects", "Got", "Somthing wrong!") }

Jump to

Keyboard shortcuts

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