Documentation ¶
Index ¶
- type XT
- func (x XT) Assert(cond bool, msg ...interface{})
- func (x XT) Equal(a interface{}, b interface{}, msg ...interface{})
- func (x XT) False(cond bool, msg ...interface{})
- func (x XT) Nil(a interface{}, msg ...interface{})
- func (x XT) NotEqual(a interface{}, b interface{}, msg ...interface{})
- func (x XT) NotNil(a interface{}, msg ...interface{})
- func (x XT) True(cond bool, msg ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XT ¶
XT is a testing.T - extension, adding a tiny bit of convenience, making tests more fun to write.
func (XT) Equal ¶
func (x XT) Equal(a interface{}, b interface{}, msg ...interface{})
Equal verifies that the two arguments are equal
func (XT) Nil ¶
func (x XT) Nil(a interface{}, msg ...interface{})
Nil verifies that the argument is nil
func (XT) NotEqual ¶
func (x XT) NotEqual(a interface{}, b interface{}, msg ...interface{})
NotEqual verifies that the two arguments are not equal
Click to show internal directories.
Click to hide internal directories.