]> git.eshelyaron.com Git - emacs.git/commitdiff
Add test for format %s with keywords
authorGerd Möllmann <gerd@gnu.org>
Sat, 22 Oct 2022 06:29:48 +0000 (08:29 +0200)
committerGerd Möllmann <gerd@gnu.org>
Sat, 22 Oct 2022 06:29:48 +0000 (08:29 +0200)
* test/src/editfns-tests.el (format-%s-keywords): New test.

test/src/editfns-tests.el

index 5fe896fbbd13091aad766e264ce1c9f14d4f01c1..bffa7865d52b842557922d93a4a094099d0b118d 100644 (file)
     (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