From 9b655f3f3f6e7bd384438b7e150aeb95d6c2b83f Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Fri, 27 Jan 2023 22:51:23 +0100 Subject: [PATCH] correct a test --- calc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calc.c b/calc.c index 1a8dd67..826c58f 100644 --- a/calc.c +++ b/calc.c @@ -291,7 +291,7 @@ int main (int argc, char *argv[]) // test: echo "-cos (0) + 1" | calc.exe | grep -q '=> -0' // test: echo "-cos(0)+1" | calc.exe | grep -q '=> -0' // test: echo "quit" | calc.exe | grep -q 'bye' -// test: echo "help" | calc.exe | grep -q 'miscellaneous' +// test: echo "help" | calc.exe | grep -q 'misc\.' // test: echo "1 + 2 *" | calc.exe | grep -q 'error' // test: echo "* 1 - 2" | calc.exe | grep -q 'error' // test: echo "2 + * 3" | calc.exe | grep -q 'error' -- 2.30.2