summaryrefslogtreecommitdiff
path: root/cmd/podman/create_cli_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-23 06:39:21 -0700
committerGitHub <noreply@github.com>2018-10-23 06:39:21 -0700
commit9a6a64f78ca3837a0e02373b2ae7f3769fbde568 (patch)
treebbbd72757177bcf844e14421a89ee741fbf20f33 /cmd/podman/create_cli_test.go
parent95c93577cd3c96b5b2d2e7945723bda218073d8f (diff)
parent125202923f00f43fd102760b3340b86dd72a4c7d (diff)
downloadpodman-9a6a64f78ca3837a0e02373b2ae7f3769fbde568.tar.gz
podman-9a6a64f78ca3837a0e02373b2ae7f3769fbde568.tar.bz2
podman-9a6a64f78ca3837a0e02373b2ae7f3769fbde568.zip
Merge pull request #1665 from vrothberg/ignore-env-vars
fix environment variable parsing
Diffstat (limited to 'cmd/podman/create_cli_test.go')
-rw-r--r--cmd/podman/create_cli_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/create_cli_test.go b/cmd/podman/create_cli_test.go
index fa128c8e6..9db007ff3 100644
--- a/cmd/podman/create_cli_test.go
+++ b/cmd/podman/create_cli_test.go
@@ -47,7 +47,7 @@ func TestGetAllLabels(t *testing.T) {
}
func TestGetAllLabelsBadKeyValue(t *testing.T) {
- inLabels := []string{"ONE1", "TWO=2"}
+ inLabels := []string{"=badValue", "="}
fileLabels := []string{}
_, err := getAllLabels(fileLabels, inLabels)
assert.Error(t, err, assert.AnError)