mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
lint: Allow texinfo markup at beginning of description.
* guix/lint.scm(starts-with-texinfo-markup?): New function. (check-description-style)[check-proper-start]: Add condition. * tests/lint.scm: Add test case. Change-Id: I674988882265d9e2041d48dba0f9627cd68bf292 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
00879f94ee
commit
f28c32089d
2 changed files with 12 additions and 1 deletions
|
@ -121,6 +121,11 @@
|
|||
(description "bad description."))))
|
||||
(check-description-style pkg))))
|
||||
|
||||
(test-equal "description: may start with texinfo markup"
|
||||
'()
|
||||
(check-description-style
|
||||
(dummy-package "x" (description "@emph{Maxwell Equations of Software}"))))
|
||||
|
||||
(test-equal "description: may start with a digit"
|
||||
'()
|
||||
(let ((pkg (dummy-package "x"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue