aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-04-25 16:35:10 +0100
committerMatthew Wild <mwild1@gmail.com>2022-04-25 16:35:10 +0100
commit07ee0f44708425c9cfb9381b9030692550a8cf32 (patch)
tree0a5cd9e767ade3f8d1ab2a55c45f7a30bce23952 /spec
parentfc5a8d7f4a909e60fc89a495a57950c1f4eb6166 (diff)
parent93347db1241f8c803c24c6cf615389cb237f0031 (diff)
downloadprosody-07ee0f44708425c9cfb9381b9030692550a8cf32.tar.gz
prosody-07ee0f44708425c9cfb9381b9030692550a8cf32.zip
Merge 0.12->trunk
Diffstat (limited to 'spec')
-rw-r--r--spec/util_argparse_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_argparse_spec.lua b/spec/util_argparse_spec.lua
index 3994a041..0f2430b7 100644
--- a/spec/util_argparse_spec.lua
+++ b/spec/util_argparse_spec.lua
@@ -20,7 +20,7 @@ describe("parse", function()
local arg = { "--foo"; "bar"; "--baz" };
local opts, err = parse(arg);
assert.falsy(err);
- assert.same({ foo = true }, opts);
+ assert.same({ foo = true, "bar", "--baz" }, opts);
assert.same({ "bar"; "--baz" }, arg);
end);