Skip to content

Commit

Permalink
Merge pull request ledger#425 from bcc32/fix-flaky-test-fontify-017
Browse files Browse the repository at this point in the history
Attempt to fix flaky ledger-fontify/test-017 on Emacs 25.1
  • Loading branch information
purcell authored Apr 22, 2024
2 parents d25fd4b + 02deb4a commit fc225f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test-helper.el
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ The two arguments START and END are character positions."
(ledger-mode)
(insert str)
(font-lock-ensure)
;; This second call appears to prevent `ledger-fontify/test-017' from
;; nondeterministically failing on Emacs 25.1. When ledger-mode no longer
;; supports that Emacs version, this second call can likely be removed.
(font-lock-ensure)
(buffer-string))))


Expand Down

0 comments on commit fc225f9

Please sign in to comment.