mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-24 10:01:47 +02: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:
committed by
Ludovic Courtès
parent
00879f94ee
commit
f28c32089d
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user