[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d37d099ad7: Fix failing shortdoc test
From: |
Lars Ingebrigtsen |
Subject: |
master d37d099ad7: Fix failing shortdoc test |
Date: |
Sat, 4 Jun 2022 08:04:54 -0400 (EDT) |
branch: master
commit d37d099ad7968ed9217599faa168571699fa03e4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix failing shortdoc test
* lisp/emacs-lisp/shortdoc.el (string): Each example section is
supposed to contain only examples of using the function in
question (as policed by the FAILED shortdoc-examples test).
---
lisp/emacs-lisp/shortdoc.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 5c94b06e76..92b9c1dd32 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -260,16 +260,16 @@ A FUNC form can have any number of `:no-eval' (or
`:no-value'),
:no-manual t
:eval (string-blank-p " \n"))
(string-lessp
- :eval (string-lessp "foo" "bar"))
+ :eval (string-lessp "foo" "bar")
+ :eval (string-lessp "pic4.png" "pic32.png")
+ :eval (string-lessp "1.1" "1 2"))
(string-greaterp
:eval (string-greaterp "foo" "bar"))
(string-version-lessp
:eval (string-version-lessp "pic4.png" "pic32.png")
- :eval (string-lessp "pic4.png" "pic32.png"))
+ :eval (string-version-lessp "1.1" "1 2"))
(string-collate-lessp
- :eval (string-collate-lessp "1.1" "1 2")
- :eval (string-version-lessp "1.1" "1 2")
- :eval (string-lessp "1.1" "1 2"))
+ :eval (string-collate-lessp "1.1" "1 2"))
(string-prefix-p
:eval (string-prefix-p "foo" "foobar"))
(string-suffix-p
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d37d099ad7: Fix failing shortdoc test,
Lars Ingebrigtsen <=