summaryrefslogtreecommitdiff
path: root/tests/import-utils.scm
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-05-12 21:08:32 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-03 22:58:53 +0200
commit510ad5d93c0ba6208aa42815863853ec522352e6 (patch)
treeaf09e40150c1763cfbc0387de5090264fa5bf1bb /tests/import-utils.scm
parente62fd9004bf0e4a9b32f7ce3c1192aa067349b83 (diff)
downloadguix-patches-510ad5d93c0ba6208aa42815863853ec522352e6.tar
guix-patches-510ad5d93c0ba6208aa42815863853ec522352e6.tar.gz
import: utils: End package descriptions with period.
* guix/import/utils.scm (beautify-description): Append period to last words which do not end with one. * tests/crate.scm: Append period to descriptions. * tests/elm.scm: Append period to descriptions. * tests/gem.scm: Append period to descriptions. * tests/hexpm.scm: Append period to descriptions. * tests/minetest.scm: Append period to descriptions. * tests/pypi.scm: Append period to descriptions. * tests/import-utils.scm ("beautify-description: transform fragment into sentence"): Likewise. Change-Id: I0b12c4d94cb26cf62fab5b7cbf7885e66ff6c10f Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/import-utils.scm')
-rw-r--r--tests/import-utils.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/import-utils.scm b/tests/import-utils.scm
index 229e6eafaa..efc66576b1 100644
--- a/tests/import-utils.scm
+++ b/tests/import-utils.scm
@@ -43,7 +43,7 @@ Differences are hard to spot, e.g. in CLOS vs. GOOPS."))
(test-equal "beautify-description: transform fragment into sentence"
"This package provides a function to establish world peace"
- (beautify-description "A function to establish world peace"))
+ (beautify-description "A function to establish world peace."))
(test-equal "beautify-description: remove single quotes"
"CRAN likes to quote acronyms and function names."