tests: fixes

Fix 6b78e50cef, "cex: make "rerun with
'-Wcex'" a note instead of a warning"

* tests/conflicts.at (-W versus %expect and %expect-rr): Fix
expectations.
This commit is contained in:
Akim Demaille
2020-07-23 06:33:30 +02:00
parent 431774d1f6
commit 9c8e6e05b6

View File

@@ -2145,7 +2145,7 @@ for gram in sr-rr sr rr; do
issue_note=true issue_note=true
elif test "$sr_exp_i" -ne "$sr_count"; then elif test "$sr_exp_i" -ne "$sr_count"; then
echo "error: shift/reduce conflicts: $sr_count found, $sr_exp_i expected" 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 issue_note=true
fi fi
fi fi
@@ -2154,7 +2154,7 @@ for gram in sr-rr sr rr; do
issue_note=true issue_note=true
elif test "$rr_exp_i" -ne "$rr_count"; then elif test "$rr_exp_i" -ne "$rr_count"; then
echo "error: reduce/reduce conflicts: $rr_count found, $rr_exp_i expected" 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 issue_note=true
fi fi
fi fi