![]() Mark the helper functions with t.Helper() so that if t.Errorf() in these functions gets called, it will report that the failure occurred on the line number of the caller of the helper, rather than the line number of the helper itself, which makes it hard to identify which case causes the failure. Signed-off-by: Quan Tian <qtian@vmware.com> |
||
---|---|---|
.. | ||
util_test.go | ||
util.go |