aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/gomega/gexec
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2019-09-30 12:44:47 +0000
committerValentin Rothberg <rothberg@redhat.com>2019-10-01 17:14:55 +0200
commit6c72b5c5926fdaed67936f0b1c6f948e3bf5c441 (patch)
tree63d66b30f322695f79acf8650532a89d705d2e79 /vendor/github.com/onsi/gomega/gexec
parentd7eba026876e4a6a362464dcf08fe6757ebedd1a (diff)
downloadpodman-6c72b5c5926fdaed67936f0b1c6f948e3bf5c441.tar.gz
podman-6c72b5c5926fdaed67936f0b1c6f948e3bf5c441.tar.bz2
podman-6c72b5c5926fdaed67936f0b1c6f948e3bf5c441.zip
Bump github.com/onsi/gomega from 1.5.0 to 1.7.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.5.0 to 1.7.0. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.5.0...v1.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/onsi/gomega/gexec')
-rw-r--r--vendor/github.com/onsi/gomega/gexec/build.go4
-rw-r--r--vendor/github.com/onsi/gomega/gexec/exit_matcher.go2
-rw-r--r--vendor/github.com/onsi/gomega/gexec/prefixed_writer.go4
-rw-r--r--vendor/github.com/onsi/gomega/gexec/session.go3
4 files changed, 11 insertions, 2 deletions
diff --git a/vendor/github.com/onsi/gomega/gexec/build.go b/vendor/github.com/onsi/gomega/gexec/build.go
index 869c1ead8..741d845f4 100644
--- a/vendor/github.com/onsi/gomega/gexec/build.go
+++ b/vendor/github.com/onsi/gomega/gexec/build.go
@@ -1,3 +1,5 @@
+// untested sections: 5
+
package gexec
import (
@@ -66,7 +68,7 @@ func doBuild(gopath, packagePath string, env []string, args ...string) (compiled
executable := filepath.Join(tmpDir, path.Base(packagePath))
if runtime.GOOS == "windows" {
- executable = executable + ".exe"
+ executable += ".exe"
}
cmdArgs := append([]string{"build"}, args...)
diff --git a/vendor/github.com/onsi/gomega/gexec/exit_matcher.go b/vendor/github.com/onsi/gomega/gexec/exit_matcher.go
index 98a354937..6e70de68d 100644
--- a/vendor/github.com/onsi/gomega/gexec/exit_matcher.go
+++ b/vendor/github.com/onsi/gomega/gexec/exit_matcher.go
@@ -1,3 +1,5 @@
+// untested sections: 2
+
package gexec
import (
diff --git a/vendor/github.com/onsi/gomega/gexec/prefixed_writer.go b/vendor/github.com/onsi/gomega/gexec/prefixed_writer.go
index 05e695abc..feb6620c5 100644
--- a/vendor/github.com/onsi/gomega/gexec/prefixed_writer.go
+++ b/vendor/github.com/onsi/gomega/gexec/prefixed_writer.go
@@ -1,3 +1,5 @@
+// untested sections: 1
+
package gexec
import (
@@ -6,7 +8,7 @@ import (
)
/*
-PrefixedWriter wraps an io.Writer, emiting the passed in prefix at the beginning of each new line.
+PrefixedWriter wraps an io.Writer, emitting the passed in prefix at the beginning of each new line.
This can be useful when running multiple gexec.Sessions concurrently - you can prefix the log output of each
session by passing in a PrefixedWriter:
diff --git a/vendor/github.com/onsi/gomega/gexec/session.go b/vendor/github.com/onsi/gomega/gexec/session.go
index 5cb00ca65..6a09140fb 100644
--- a/vendor/github.com/onsi/gomega/gexec/session.go
+++ b/vendor/github.com/onsi/gomega/gexec/session.go
@@ -1,6 +1,9 @@
/*
Package gexec provides support for testing external processes.
*/
+
+// untested sections: 1
+
package gexec
import (