Documentation
¶
Index ¶
- func Assert(t *testing.T, cond bool)
- func Contains(t *testing.T, str, pattern string)
- func ContainsJSON(t *testing.T, obj any, pattern string)
- func Context(t *testing.T) ctx.C
- func Empty(t *testing.T, obj any)
- func EqualsGo(t *testing.T, expect, got any)
- func EqualsJSON(t *testing.T, expect, got any)
- func EqualsStr(t *testing.T, expect, got string)
- func Error(t *testing.T, err error)
- func Fail(t *testing.T, f string, args ...any)
- func Nil(t *testing.T, obj any)
- func NoError(t *testing.T, err error)
- func NotContainsJSON(t *testing.T, obj any, pattern string)
- func NotEmpty(t *testing.T, obj any)
- func NotEqualsGo(t *testing.T, expect, got any)
- func NotEqualsJSON(t *testing.T, expect, got any)
- func NotEqualsStr(t *testing.T, expect, got string)
- func NotNil(t *testing.T, obj any)
- func OK(t *testing.T, f string, args ...any)
- func Quote(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsJSON ¶
check if the json of obj contains pattern
func NotContainsJSON ¶
check if the json of obj does NOT contains pattern
func NotEqualsStr ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.