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 + } } ]