aboutsummaryrefslogtreecommitdiff
path: root/tests/test_helpers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_helpers')
-rw-r--r--tests/test_helpers/helpers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go
index a859129..4c704d4 100644
--- a/tests/test_helpers/helpers.go
+++ b/tests/test_helpers/helpers.go
@@ -422,8 +422,8 @@ func QueryCtlSock(t *testing.T, socketPath string, req ctlsock.RequestStruct) (r
return response
}
-// Extract the exit code from an error value that was returned from
-// exec / cmd.Run()
+// ExtractCmdExitCode extracts the exit code from an error value that was
+// returned from exec / cmd.Run()
func ExtractCmdExitCode(err error) int {
if err == nil {
return 0