libct/int/checkpoint_test: use t.Helper

Otherwise showFile log statements show its own file/line info,
rather than that of the caller's.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2021-05-05 11:37:13 -07:00
parent bcca796848
commit 72d7a8249d
@@ -14,6 +14,7 @@ import (
)
func showFile(t *testing.T, fname string) error {
t.Helper()
t.Logf("=== %s ===\n", fname)
f, err := os.Open(fname)