From 486126e92b87d9ca32ae2596f74054c234cd7a19 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Wed, 21 Feb 2024 10:22:32 +0100 Subject: it::getopt: do not eat up second -- --- test/it.t | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/it.t b/test/it.t index 3003ccf..992a81f 100755 --- a/test/it.t +++ b/test/it.t @@ -565,6 +565,7 @@ function requesturi($teststring, $expect) _getopt(["val"], ['foo' => "val"]); _getopt(["--", "-val"], ['foo' => "-val"]); +_getopt(["--", "--"], ['foo' => "--"]); _getopt(["-v", "val"], ['verbose' => true, 'foo' => "val"]); _getopt(["--verbose", "val"], ['verbose' => true, 'foo' => "val"]); _getopt(["-vw", "val"], ['verbose' => true, 'werbose' => true, 'foo' => "val"]); -- cgit v1.2.3