Documentation ¶
Index ¶
- Variables
- func Caller(skip int) string
- func Equal(t *testing.T, got, wants interface{}, show ...interface{})
- func Error(t *testing.T, err error, show ...interface{})
- func False(t *testing.T, ok bool, show ...interface{})
- func LastError(rets ...interface{}) error
- func Nil(t *testing.T, v interface{}, show ...interface{})
- func NotNil(t *testing.T, v interface{}, show ...interface{})
- func Panic(t *testing.T, fn func())
- func Printf(format string, i ...interface{})
- func Println(i ...interface{})
- func Recover(t *testing.T, msg string, fn func())
- func String(show ...interface{}) string
- func True(t *testing.T, ok bool, show ...interface{})
- type Want
- func (w Want) Equal(got, wants interface{}, show ...interface{}) Want
- func (w Want) Error(err error, show ...interface{}) Want
- func (w Want) False(ok bool, show ...interface{}) Want
- func (w Want) Fatal(show ...interface{})
- func (w Want) Fatalf(format string, show ...interface{})
- func (w Want) Nil(i interface{}, show ...interface{}) Want
- func (w Want) NotNil(i interface{}, show ...interface{}) Want
- func (w Want) Panic(fn func()) Want
- func (w Want) Recover(msg string, fn func()) Want
- func (w Want) True(ok bool, show ...interface{}) Want
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalFileLine bool
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.