aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/editfns-tests.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el
index f76c6c9fd36..c5923aaafb1 100644
--- a/test/src/editfns-tests.el
+++ b/test/src/editfns-tests.el
@@ -186,13 +186,9 @@
186 (should (equal (should-error (format "a %999999$s b" 11)) 186 (should (equal (should-error (format "a %999999$s b" 11))
187 '(error "Not enough arguments for format string"))) 187 '(error "Not enough arguments for format string")))
188 (should (equal (should-error (format "a %$s b" 11)) 188 (should (equal (should-error (format "a %$s b" 11))
189 ;; FIXME: there shouldn't be two % in the error 189 '(error "Invalid format operation %$")))
190 ;; string!
191 '(error "Invalid format operation %%$")))
192 (should (equal (should-error (format "a %0$s b" 11)) 190 (should (equal (should-error (format "a %0$s b" 11))
193 '(error "Invalid field number `0'"))) 191 '(error "Invalid format field number 0")))
194 (should (equal 192 (should (equal (format "a %1$% %s b" 11) "a % 11 b")))
195 (should-error (format "a %1$% %s b" 11))
196 '(error "Field number specified together with `%' conversion"))))
197 193
198;;; editfns-tests.el ends here 194;;; editfns-tests.el ends here