From 24fa8e8e8a326e59a2d62f9f25ce81e3986bc207 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Sat, 22 Oct 2022 08:29:48 +0200 Subject: [PATCH] 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 5fe896fbbd1..bffa7865d52 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 -- 2.39.2