aboutsummaryrefslogtreecommitdiff
blob: 5167d21dc34cd14524d68ecd8c8d3728683cacee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix flymake tests with GCC 14
https://debbugs.gnu.org/71749

--- emacs-29.3/test/lisp/progmodes/flymake-tests.el
+++ emacs-29.3/test/lisp/progmodes/flymake-tests.el
@@ -174,7 +174,8 @@
     (flymake-tests--with-flymake
         ("some-problems.h")
       (flymake-goto-next-error)
-      (should (eq 'flymake-warning (face-at-point)))
+      ;; implicit-int was promoted from warning to error in GCC 14
+      (should (memq (face-at-point) '(flymake-warning flymake-error)))
       (flymake-goto-next-error)
       (should (eq 'flymake-error (face-at-point)))
       (should-error (flymake-goto-next-error nil nil t)))