From 43d4978ceabb9d5879ab8d86bbf0f1ee551f9500 Mon Sep 17 00:00:00 2001 From: The Wizard Bear <42446683+TheWizardBear@users.noreply.github.com> Date: Mon, 2 Nov 2020 22:17:26 +0000 Subject: fix(std/flags): Fix parse incorrectly parsing alias flags with equals signs in the value #8136 (#8216) --- std/flags/parse_test.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'std/flags/parse_test.ts') 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, -- cgit v1.2.3