about summary refs log tree commit homepage
path: root/t/lei.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-02-02 11:46:52 +0000
committerEric Wong <e@80x24.org>2021-02-03 07:32:37 +0000
commit35597221da323ec3471e58fba9f04aa6e3937737 (patch)
tree3a11cb55494d0e53772a5af09435e6852dc2e0e4 /t/lei.t
parenta513747e10a5cc796411e901b415bbe6336c3f4d (diff)
downloadpublic-inbox-35597221da323ec3471e58fba9f04aa6e3937737.tar.gz
Because .onion URLs names are long!
Diffstat (limited to 't/lei.t')
-rw-r--r--t/lei.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/lei.t b/t/lei.t
index a46e46f2..33f47ae4 100644
--- a/t/lei.t
+++ b/t/lei.t
@@ -232,6 +232,12 @@ my $test_external = sub {
                         "partial completion for URL $u");
                 is($out, "https://example.com/ibx/\n",
                         "completed partial URL $u");
+                for my $qo (qw(-I --include --exclude --only)) {
+                        ok($lei->(qw(_complete lei q), $qo, $u),
+                                "partial completion for URL q $qo $u");
+                        is($out, "https://example.com/ibx/\n",
+                                "completed partial URL $u on q $qo");
+                }
         }
 
         $lei->('ls-external');