From 510ad5d93c0ba6208aa42815863853ec522352e6 Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Sun, 12 May 2024 21:08:32 +0200 Subject: import: utils: End package descriptions with period. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- tests/import-utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/import-utils.scm') 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." -- cgit v1.2.3