From 50f88338e67084fa31be6843d47bd4d675458e7a Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 25 Jun 2001 03:06:33 +0000 Subject: Assorted "make check" tweaks. --- Test/Y02compmatch.ztst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Test/Y02compmatch.ztst') diff --git a/Test/Y02compmatch.ztst b/Test/Y02compmatch.ztst index f726923e8..4d4e0c0fa 100644 --- a/Test/Y02compmatch.ztst +++ b/Test/Y02compmatch.ztst @@ -16,10 +16,10 @@ mkdir match.tmp cd match.tmp - comptestinit -z $ZTST_testdir/../Src/zsh - - list1=(IndianRed IndianRed2 IndianRed3 IndianRed4) - test_code () { + comptestinit -z $ZTST_testdir/../Src/zsh && + { + list1=(IndianRed IndianRed2 IndianRed3 IndianRed4) + test_code () { matcher=$1; list=$2; code="compdef _tst tst ; _tst () { echo -n '';compadd -M '" @@ -31,12 +31,10 @@ code="$code; echo -n ''" code="$code}" comptesteval "$code" + } } - - - %test test_code z: list1 -- cgit v1.2.3-70-g09d2