helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit 209971ba9f576ba080352642cfbf25df5692b1d7
parent 741b8641657578926444a80657fb36c3d8c5372d
Author: Erik Šabič <erik.sab@gmail.com>
Date:   Sat, 28 May 2022 05:10:33 +0200

Check for emacs version in helpful--docstring test

Diffstat:
Mtest/helpful-unit-test.el | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el @@ -119,7 +119,9 @@ bar"))) (should (equal (helpful--docstring #'test-foo-advised t) - "Docstring here too.\n\nThis function has :around advice: `ad-Advice-test-foo-advised'."))) + (if (version< emacs-version "28") + "Docstring here too." + "Docstring here too.\n\nThis function has :around advice: `ad-Advice-test-foo-advised'.")))) (defun test-foo-no-docstring () nil)