diff options
-rw-r--r-- | test/lisp/progmodes/flymake-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/flymake-tests.el index 21dbb0711d2..93bc9028031 100644 --- a/test/lisp/progmodes/flymake-tests.el +++ b/test/lisp/progmodes/flymake-tests.el @@ -174,7 +174,8 @@ SEVERITY-PREDICATE is used to setup (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))) |