1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

; Fix flymake tests with GCC 14.

* test/lisp/progmodes/flymake-tests.el (included-c-header-files):
Fix test failure with GCC 14.  (Bug#71749)
This commit is contained in:
Ulrich Müller 2024-06-24 15:20:26 +02:00
parent 96e27c2ecf
commit a769f171e7

View File

@ -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)))