Documentation
¶
Index ¶
- func AssertHexEqual(t *testing.T, expected string, b []byte, msgAndArgs ...interface{})
- func AssertHexGreater(t *testing.T, a, b []byte, msgAndArgs ...interface{})
- func AssertHexLess(t *testing.T, a, b []byte, msgAndArgs ...interface{})
- func AssertHexLessOrEqual(t *testing.T, a, b []byte, msgAndArgs ...interface{})
- func CapturePanicMessage(f func()) (msg string, ok bool)
- func HexEncode(b []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertHexEqual ¶
AssertHexEqual compares expected hex string with bytes.
func AssertHexGreater ¶
AssertHexGreater asserts hex(a) > hex(b) lexicographically.
func AssertHexLess ¶
AssertHexLess asserts hex(a) < hex(b) lexicographically.
func AssertHexLessOrEqual ¶
AssertHexLessOrEqual asserts hex(a) <= hex(b) lexicographically.
func CapturePanicMessage ¶
CapturePanicMessage is a test helper shared across tests to capture a panic string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.