summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-04-06 16:20:35 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-04-06 16:20:35 +0100
commit48b30ae1141cbce9fe6f1153f368dd63a4505775 (patch)
tree936688b8488a1650e7738b381ff0ca56305cd9ca /test
parent0b4dfe7aa1f12214abdfa1037497d6c49a471612 (diff)
Expansion item ${listquote }. Bug 1066
Diffstat (limited to 'test')
-rw-r--r--test/scripts/0000-Basic/00028
-rw-r--r--test/stdout/00028
2 files changed, 16 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index 2bf8f164e..db8d70981 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -126,6 +126,14 @@ listextract: ${listextract{-5}{a:b:c:d}}
listextract: ${listextract{ 5}{a:b:c:d}{}{fail}}
listextract: ${listextract{ 5}{a:b:c:d}{}fail}
+listquote: ${listquote{:}{abcd}}
+listquote: ${listquote{:}{ab:cd}}
+listquote: ${listquote{:}{:a:b:c:d:}}
+listquote: ${listquote{:}{ab::cd}}
+listquote: ${listquote{;}{ab:cd}}
+listquote: ${listquote{;}{ab;cd}}
+listquote: ${listquote{ }{ ab cd}}
+
sort: ${sort{3:2:1:4}{<}{$item}}
sort: ${sort {<, 3,2,1,4}{>}{$item}}
sort: ${sort{c:B:a:aa}{lti}{$item}}
diff --git a/test/stdout/0002 b/test/stdout/0002
index 01e96fe78..4345a0969 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -115,6 +115,14 @@
> listextract: fail
> Failed: "listextract" failed and "fail" requested
>
+> listquote: abcd
+> listquote: ab::cd
+> listquote: ::a::b::c::d::
+> listquote: ab::::cd
+> listquote: ab:cd
+> listquote: ab;;cd
+> listquote: ab cd
+>
> sort: 1:2:3:4
> sort: 4,3,2,1
> sort: a:aa:B:c