From e3c1b14cf9b685528efa50ca068a9f3fd9f9b05c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 8 Jan 2020 03:42:56 -0600 Subject: Implement quote removal and fix unterminated bracket expansion. --- tests/sh.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/sh.test b/tests/sh.test index 95d7d196..97356b85 100755 --- a/tests/sh.test +++ b/tests/sh.test @@ -14,8 +14,8 @@ testing "simple pipe" "echo hello | cat" "hello\n" "" "" testing "brackets" "echo {A{a,b}B{c,d}C}" "{AaBcC} {AaBdC} {AbBcC} {AbBdC}\n" \ "" "" testing "brackets2" "echo {A{a,b}B{c,d}C,D}" "AaBcC AaBdC AbBcC AbBdC D\n" "" "" -#testing "brackets3" 'echo {A"b,c"D}' "{Ab,cD}\n" "" "" -#testing "brackets4" 'echo {A"bc",D}' "Abc D\n" "" "" +testing "brackets3" 'echo {A"b,c"D}' "{Ab,cD}\n" "" "" +testing "brackets4" 'echo {A"bc",D}' "Abc D\n" "" "" testing "brackets5" 'echo {A,B,C' "{A,B,C\n" "" "" testing "brackets6" 'echo {{{{A,B},C}D},E}' "{AD} {BD} {CD} E\n" "" "" testing "brackets7" 'echo {{{a,b},c,{d,e}},f}' "a b c d e f\n" "" "" -- cgit v1.2.3