From: Gerd Möllmann Date: Sat, 22 Oct 2022 06:29:48 +0000 (+0200) Subject: Add test for format %s with keywords X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24fa8e8e8a326e59a2d62f9f25ce81e3986bc207;p=emacs.git Add test for format %s with keywords * test/src/editfns-tests.el (format-%s-keywords): New test. --- 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