summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-05-25 11:38:25 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-05-25 21:05:55 +0100
commit43ac2ce5e55c134367e7a6c8eb8d2129df00c770 (patch)
treefeed67a87688b69e292c46c967c2ce9ea911af6d /test
parentc21235119a8ab47a55abcf94a83aace510edf5d7 (diff)
Fix listquote expansion item to handle empty-string input
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00021
-rw-r--r--test/stdout/00021
2 files changed, 2 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index db8d70981..a8fc0bcb2 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -133,6 +133,7 @@ listquote: ${listquote{:}{ab::cd}}
listquote: ${listquote{;}{ab:cd}}
listquote: ${listquote{;}{ab;cd}}
listquote: ${listquote{ }{ ab cd}}
+listquote: <${listquote{:}{}}>
sort: ${sort{3:2:1:4}{<}{$item}}
sort: ${sort {<, 3,2,1,4}{>}{$item}}
diff --git a/test/stdout/0002 b/test/stdout/0002
index ea918aebb..b8ff36122 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -122,6 +122,7 @@
> listquote: ab:cd
> listquote: ab;;cd
> listquote: ab cd
+> listquote: < >
>
> sort: 1:2:3:4
> sort: 4,3,2,1