fix converage tests
authorLaurent Mazet <mazet@softndesign.org>
Thu, 2 Feb 2023 14:13:16 +0000 (15:13 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Thu, 2 Feb 2023 14:13:16 +0000 (15:13 +0100)
calc.c

diff --git a/calc.c b/calc.c
index 500be08f98d982ef093a3de71bf7bad2d1b19c52..31cd1420daffd15850f76112c771114ae325d935 100644 (file)
--- a/calc.c
+++ b/calc.c
@@ -343,7 +343,7 @@ int main (int argc, char *argv[])
 // test: echo -e '(3 == 4) | (2 > 2)' | calc.exe | grep -q '=> 0'
 // test: echo -e '!(3 == 4)' | calc.exe | grep -q '=> 1'
 // test: echo -e '!(3 == 3)' | calc.exe | grep -q '=> 0'
-// test: echo -e '1 & 1\n1 | 1\n!1\nquit' | calc.exe -v 3 | grep -qv error
+// test: echo -e '1 & 1\n1 | 1\n!1\nquit' | calc.exe -n -v 3 | grep -qv error
 // test: echo -e '(3 == 3) & (4 > 2)' | calc.exe | grep -q '=> 1'
 // test: echo -e '3 == 3 & 4 > 2' | calc.exe | grep -q '=> 1'
 // test: echo -e '1 + quit' | calc.exe | grep -q error