Documentation ¶
Overview ¶
Package tassert provides common asserts for tests
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Index ¶
- func CheckError(tb testing.TB, err error)
- func CheckFatal(tb testing.TB, err error)
- func DoAndCheckResp(tb testing.TB, client *http.Client, req *http.Request, statusCode ...int)
- func Errorf(tb testing.TB, cond bool, msg string, args ...any)
- func Fatalf(tb testing.TB, cond bool, msg string, args ...any)
- func SelectErr(tb testing.TB, errCh chan error, verb string, errIsFatal bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckFatal ¶
func DoAndCheckResp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.