From c04bd2009144aac34468d651c01dd4e6f48c8735 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 13 Sep 2024 11:08:17 +0200 Subject: [PATCH] fixup two more tests --- tests.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tests.json b/tests.json index ade85b92..49ad7169 100644 --- a/tests.json +++ b/tests.json @@ -3004,5 +3004,33 @@ "stderr": "", "returncode": 0 } + }, + { + "input": { + "arguments": [ + "sftp://us%65r:pwd;giraffe@odd", + "--get", + "[password]" + ] + }, + "expected": { + "stdout": "pwd;giraffe\n", + "stderr": "", + "returncode": 0 + } + }, + { + "input": { + "arguments": [ + "sftp://us%65r:pwd;giraffe@odd", + "--get", + "[:password]" + ] + }, + "expected": { + "stdout": "pwd%3bgiraffe\n", + "stderr": "", + "returncode": 0 + } } ]