import: cran: Fix description->package test.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sat, 18 Dec 2021 03:08:56 +0000 (04:08 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sat, 18 Dec 2021 03:09:47 +0000 (04:09 +0100)
This follows up on commit 5cd1019488c44081aaf030fbe8bc357d78daef23.

* tests/cran.scm (description): Include a very long line.
(description->package): Update the golden description to match the
paragraph filling now performed by BEAUTIFY-DESCRIPTION.

tests/cran.scm

index e59b7da..5c820b1 100644 (file)
@@ -36,7 +36,7 @@ Author: Ricardo Wurmus
 Maintainer: Guix Schmeeks <guix@gnu.org>
 URL: http://gnu.org/s/my-example
 Description: This is a long description
-spanning multiple lines: and it could confuse the parser that
+spanning multiple lines: and it could confuse the parser that this line is very long or perhaps the fact that
 there is a colon : on the lines.
   And: this line continues the description.
 biocViews: 0
@@ -123,9 +123,10 @@ Date/Publication: 2015-07-14 14:15:16
          ('home-page "http://gnu.org/s/my-example")
          ('synopsis "Example package")
          ('description
-          "This is a long description spanning multiple lines: \
-and it could confuse the parser that there is a colon : on the \
-lines.  And: this line continues the description.")
+          "\
+This is a long description spanning multiple lines: and it could confuse the
+parser that this line is very long or perhaps the fact that there is a colon :
+on the lines.  And: this line continues the description.")
          ('license 'gpl3+))
        #t)
       (x