More tests for rg arg parsing

This commit is contained in:
Kovid Goyal
2023-03-05 14:09:04 +05:30
parent 716a048e6c
commit 23d2293296
2 changed files with 24 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ func parse_args(args ...string) (delegate_to_rg bool, sanitized_args []string, k
if with_equals {
sanitized_args = append(sanitized_args, "--"+key+"="+val)
} else {
sanitized_args = append(sanitized_args, key, val)
sanitized_args = append(sanitized_args, "--"+key, val)
}
}
switch key {