From 48b30ae1141cbce9fe6f1153f368dd63a4505775 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 6 Apr 2020 16:20:35 +0100 Subject: Expansion item ${listquote }. Bug 1066 --- test/scripts/0000-Basic/0002 | 8 ++++++++ test/stdout/0002 | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'test') 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 -- cgit v1.2.3