summaryrefslogtreecommitdiff
path: root/test/utils
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-21 15:15:52 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-22 13:04:35 +0100
commit6c030cd5737a6257e9b7ee2db232a24ccef294de (patch)
tree055ee9cc94c7ceef98b73cd4d4d9aadba345c83e /test/utils
parent68b94338bac2f3a4ee18f959cc2b214bb22d7fcf (diff)
downloadpodman-6c030cd5737a6257e9b7ee2db232a24ccef294de.tar.gz
podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.tar.bz2
podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.zip
fix a number of `godot` issues
Still an unknown number remains but I am running out of patience. Adding dots is not the best use of my time. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'test/utils')
-rw-r--r--test/utils/matchers.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/utils/matchers.go b/test/utils/matchers.go
index 85a89aa49..0c0948e4b 100644
--- a/test/utils/matchers.go
+++ b/test/utils/matchers.go
@@ -13,7 +13,7 @@ import (
"github.com/onsi/gomega/types"
)
-// HaveActiveService verifies the given service is the active service
+// HaveActiveService verifies the given service is the active service.
func HaveActiveService(name interface{}) OmegaMatcher {
return WithTransform(
func(cfg *config.Config) string {
@@ -86,7 +86,7 @@ type URLMatcher struct {
matchers.EqualMatcher
}
-// VerifyURL matches when actual is a valid URL and matches expected
+// VerifyURL matches when actual is a valid URL and matches expected.
func VerifyURL(uri interface{}) OmegaMatcher {
return &URLMatcher{matchers.EqualMatcher{Expected: uri}}
}
@@ -129,7 +129,7 @@ func ExitWithError(optionalExitCode ...int) *ExitMatcher {
return &ExitMatcher{Expected: exitCode}
}
-// Match follows gexec.Matcher interface
+// Match follows gexec.Matcher interface.
func (matcher *ExitMatcher) Match(actual interface{}) (success bool, err error) {
exiter, ok := actual.(gexec.Exiter)
if !ok {