import: cran: Fix description->package test.

This follows up on commit 5cd1019488.

* 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.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-18 04:08:56 +01:00
parent a526f7336c
commit 10ceb3e846
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -36,7 +36,7 @@ (define description "
Maintainer: Guix Schmeeks <guix@gnu.org> Maintainer: Guix Schmeeks <guix@gnu.org>
URL: http://gnu.org/s/my-example URL: http://gnu.org/s/my-example
Description: This is a long description 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. there is a colon : on the lines.
And: this line continues the description. And: this line continues the description.
biocViews: 0 biocViews: 0
@ -123,9 +123,10 @@ (define simple-alist
('home-page "http://gnu.org/s/my-example") ('home-page "http://gnu.org/s/my-example")
('synopsis "Example package") ('synopsis "Example package")
('description ('description
"This is a long description spanning multiple lines: \ "\
and it could confuse the parser that there is a colon : on the \ This is a long description spanning multiple lines: and it could confuse the
lines. And: this line continues the description.") 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+)) ('license 'gpl3+))
#t) #t)
(x (x