diff options
author | The Wizard Bear <42446683+TheWizardBear@users.noreply.github.com> | 2020-11-02 22:17:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 23:17:26 +0100 |
commit | 43d4978ceabb9d5879ab8d86bbf0f1ee551f9500 (patch) | |
tree | 5145c0215ff4ef137022ebdcd857ddc8656cce66 /std/flags/parse_test.ts | |
parent | 93deefcae221e03358dd259f1958930331654afc (diff) |
fix(std/flags): Fix parse incorrectly parsing alias flags with equals signs in the value #8136 (#8216)
Diffstat (limited to 'std/flags/parse_test.ts')
-rwxr-xr-x | std/flags/parse_test.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/std/flags/parse_test.ts b/std/flags/parse_test.ts index 9a19e5634..3e981a43a 100755 --- a/std/flags/parse_test.ts +++ b/std/flags/parse_test.ts @@ -26,6 +26,9 @@ Deno.test("comprehensive", function (): void { "--bool", "--no-meep", "--multi=baz", + "-f=abc=def", + "--foo=---=\\n--+34-=/=", + "-e==", "--", "--not-a-flag", "eek", @@ -34,6 +37,9 @@ Deno.test("comprehensive", function (): void { c: true, a: true, t: true, + e: "=", + f: "abc=def", + foo: "---=\\n--+34-=/=", s: "woo", h: "awesome", b: true, |