From 9c8e6e05b6e84f1abf8ca15cb24801c2eaf9092e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 23 Jul 2020 06:33:30 +0200 Subject: [PATCH] tests: fixes Fix 6b78e50cef3c2cd8e6f4e7938be987e8769f8eef, "cex: make "rerun with '-Wcex'" a note instead of a warning" * tests/conflicts.at (-W versus %expect and %expect-rr): Fix expectations. --- tests/conflicts.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conflicts.at b/tests/conflicts.at index 99d143e3..2b6f4315 100644 --- a/tests/conflicts.at +++ b/tests/conflicts.at @@ -2145,7 +2145,7 @@ for gram in sr-rr sr rr; do issue_note=true elif test "$sr_exp_i" -ne "$sr_count"; then echo "error: shift/reduce conflicts: $sr_count found, $sr_exp_i expected" - if test "$sr_exp_i" -ne 0; then + if test "$sr_count" -ne 0; then issue_note=true fi fi @@ -2154,7 +2154,7 @@ for gram in sr-rr sr rr; do issue_note=true elif test "$rr_exp_i" -ne "$rr_count"; then echo "error: reduce/reduce conflicts: $rr_count found, $rr_exp_i expected" - if test "$rr_exp_i" -ne 0; then + if test "$rr_count" -ne 0; then issue_note=true fi fi