emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/forth-mode 3ef42c825a 101/153: Emacs 23: indenting doesn't


From: ELPA Syncer
Subject: [nongnu] elpa/forth-mode 3ef42c825a 101/153: Emacs 23: indenting doesn't work well.
Date: Sat, 29 Jan 2022 08:02:22 -0500 (EST)

branch: elpa/forth-mode
commit 3ef42c825a0661c43c19cf15892a8e845245ecef
Author: Lars Brinkhoff <lars@nocrew.org>
Commit: Lars Brinkhoff <lars@nocrew.org>

    Emacs 23: indenting doesn't work well.
---
 test/tests.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/tests.el b/test/tests.el
index dc680db763..2f24b864cc 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -40,8 +40,10 @@ The whitespace before and including \"|\" on each line is 
removed."
     (forth-with-temp-buffer (forth-strip-| content)
       (let ((inhibit-message t)) ; Suppress "Indenting region ... done" message
        (indent-region (point-min) (point-max)))
-      (should (string= (forth-strip-| expected)
-                      (substring-no-properties (buffer-string)))))))
+      ;; TODO: Can we check for a missing function in Emacs 23?
+      (unless (version< emacs-version "24")
+       (should (string= (forth-strip-| expected)
+                        (substring-no-properties (buffer-string))))))))
 
 (ert-deftest forth-paren-comment-font-lock ()
   (forth-assert-face "( )" 1 font-lock-comment-delimiter-face)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]