Documentation ¶
Index ¶
- func CheckError(t *testing.T, testName string, gotErr er.R, wantErrCode *er.ErrorCode) bool
- func CloneBytes(b []byte) []byte
- func DecodeHex(s string) ([]byte, er.R)
- func Exists(path string) bool
- func IsNil(i interface{}) bool
- func ReadBin(r io.Reader, order binary.ByteOrder, data interface{}) er.R
- func ReadFull(r io.Reader, buf []byte) (int, er.R)
- func RequireErr(t require.TestingT, err er.R, msgAndArgs ...interface{})
- func RequireNoErr(t require.TestingT, err er.R, msgAndArgs ...interface{})
- func Write(w io.Writer, b []byte) (int, er.R)
- func WriteBin(w io.Writer, order binary.ByteOrder, data interface{}) er.R
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
CheckError ensures the passed error has an error code that matches the passed error code.
func CloneBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.