Documentation
¶
Overview ¶
Package tt is a simple test package for the ojg package.
Index ¶
- func Equal(t *testing.T, expect, actual any, args ...any) (eq bool)
- func Nil(t *testing.T, actual any, args ...any)
- func NotEqual(t *testing.T, expect, actual any, args ...any) (eq bool)
- func NotNil(t *testing.T, actual any, args ...any)
- func Panic(t *testing.T, fun func(), args ...any) (r any)
- func SameType(t *testing.T, expect, actual any, args ...any) (eq bool)
- type ShortReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotEqual ¶ added in v1.14.2
NotEqual return true if two values are not equal and fails a test if equal.
Types ¶
type ShortReader ¶
ShortReader readons only the designated amount and then returns an error.
Click to show internal directories.
Click to hide internal directories.