diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-01-21 10:00:29 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-01-22 02:35:01 +0300 |
commit | 9d501d5be8a20f78e8343513a14c3a832b2a554b (patch) | |
tree | 6a48ff246e836c66d44446e30c499a0eb9f9fb07 | |
parent | a04541aaf6e26b556fb0ea4c49d80a1494abef9e (diff) |
add t.Helper to a test func
(cherry picked from commit c4da6ef61d338c19832b99574eaf2dce383be70e)
-rw-r--r-- | helpers_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers_test.go b/helpers_test.go index b1f5e1b2..06a268b7 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -208,6 +208,7 @@ func RunPagesProcessWithAuthServerWithSSL(t *testing.T, pagesPath string, listen } func runPagesProcess(t *testing.T, wait bool, pagesPath string, listeners []ListenSpec, promPort string, extraEnv []string, extraArgs ...string) (teardown func()) { + t.Helper() _, err := os.Stat(pagesPath) require.NoError(t, err) |