diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 10c4b0a636..0e879391b8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -95,7 +95,7 @@ ;;; Copyright © 2021 Alexey Abramov ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021, 2022 Stefan Reichör -;;; Copyright © 2021, 2022 Simon Tournier +;;; Copyright © 2021, 2022, 2023 Simon Tournier ;;; Copyright © 2021 Eugene Klimov ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 David Dashyan @@ -13603,7 +13603,17 @@ E-Prime forbids the use of the \"to be\" form to strengthen your writing.") `(#:tests? #t #:test-command '("emacs" "--batch" "-l" "julia-mode-tests.el" - "-f" "ert-run-tests-batch-and-exit"))) + "-f" "ert-run-tests-batch-and-exit") + #:phases + (modify-phases %standard-phases + (add-before 'check 'fix-test + (lambda _ + (substitute* "julia-mode-tests.el" + ;; The test started failing with Emacs 29; see + ;; + ;; and discrepancy reported . + (("julia--test-end-of-defun-nested-2.*" all) + (string-append all " :expected-result :failed\n")))))))) (home-page "https://github.com/JuliaEditorSupport/julia-emacs") (synopsis "Major mode for Julia") (description "This Emacs package provides a mode for the Julia