correct a test
authorLaurent Mazet <mazet@softndesign.org>
Fri, 27 Jan 2023 21:51:23 +0000 (22:51 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Fri, 27 Jan 2023 21:51:23 +0000 (22:51 +0100)
calc.c

diff --git a/calc.c b/calc.c
index 1a8dd679200f7b2847e365b9df8bba525d2d6f4f..826c58f49ffa83ee80605552510380624e1ba24e 100644 (file)
--- 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'