mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
guix: lint: Check end of sentences for a period.
* guix/lint.scm (check-description-style): Check that sentences end with a period. Change-Id: Ic10161f8093351dce440e19802a71f03bc849638 Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
@@ -108,6 +108,13 @@
|
||||
(check-description-style
|
||||
(dummy-package "x" (description "")))))
|
||||
|
||||
(test-equal "description: does not end with a period"
|
||||
"description should end with a period"
|
||||
(single-lint-warning-message
|
||||
(let ((pkg (dummy-package "x"
|
||||
(description "This package provides a bad description"))))
|
||||
(check-description-style pkg))))
|
||||
|
||||
(test-equal "description: invalid Texinfo markup"
|
||||
"Texinfo markup in description is invalid"
|
||||
(single-lint-warning-message
|
||||
|
||||
Reference in New Issue
Block a user