emacs-diffs
[Top][All Lists]
Advanced

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

feature/pkg 24fa8e8e8a: Add test for format %s with keywords


From: Gerd Moellmann
Subject: feature/pkg 24fa8e8e8a: Add test for format %s with keywords
Date: Sat, 22 Oct 2022 02:30:36 -0400 (EDT)

branch: feature/pkg
commit 24fa8e8e8a326e59a2d62f9f25ce81e3986bc207
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    Add test for format %s with keywords
    
    * test/src/editfns-tests.el (format-%s-keywords): New test.
---
 test/src/editfns-tests.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el
index 5fe896fbbd..bffa7865d5 100644
--- a/test/src/editfns-tests.el
+++ b/test/src/editfns-tests.el
@@ -426,4 +426,8 @@
     (should (= (field-beginning) 7))
     (should (= (field-end) (point-max)))))
 
+(ert-deftest format-%s-keywords ()
+  (should (string-equal (format "%s" :hansi) ":hansi")))
+
+
 ;;; editfns-tests.el ends here



reply via email to

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