Fix root:root e2e tests

pull/1517/head
Arjun Khunti 7 months ago committed by GitHub
parent 3ca0a6cc3a
commit 4dc29bde29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,7 +143,7 @@ func (t flagTestItem) findValue(s string) (match bool, value string, err error)
if strings.HasPrefix(t.Flag, "--") {
value = "true"
} else {
if t.Compare.Op == "eq" {
if t.Compare.Op == "eq" && !strings.Contains(t.Flag, ":") {
value = ""
} else {
value = vals[1]

Loading…
Cancel
Save