GNU bug report logs - #36047
[PATCH 1/2] tests: hackage: Test multiline cabal description.

Previous Next

Package: guix-patches;

Reported by: Robert Vollmert <rob <at> vllmrt.net>

Date: Sat, 1 Jun 2019 22:29:03 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36047 in the body.
You can then email your comments to 36047 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#36047; Package guix-patches. (Sat, 01 Jun 2019 22:29:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Vollmert <rob <at> vllmrt.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 01 Jun 2019 22:29:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: guix-patches <at> gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 1/2] tests: hackage: Test multiline cabal description.
Date: Sun,  2 Jun 2019 00:27:49 +0200
* tests/hackage.scm: Add test case with multi-line description.
---
 tests/hackage.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/tests/hackage.scm b/tests/hackage.scm
index 269c1e1f9b..2f45194fab 100644
--- a/tests/hackage.scm
+++ b/tests/hackage.scm
@@ -236,6 +236,25 @@ library
 (test-assert "hackage->guix-package test 6"
   (eval-test-with-cabal test-cabal-6 match-ghc-foo-6))
 
+;; Check multi-line layouted description
+(define test-cabal-multiline-desc
+  "name: foo
+version: 1.0.0
+homepage: http://test.org
+synopsis: synopsis
+description:   first line
+               second line
+license: BSD3
+executable cabal
+  build-depends:
+    HTTP       >= 4000.2.5 && < 4000.3,
+    mtl        >= 2.0      && < 3
+")
+
+(test-assert "hackage->guix-package test multiline desc"
+  (eval-test-with-cabal test-cabal-multiline-desc match-ghc-foo))
+
+
 (test-assert "read-cabal test 1"
   (match (call-with-input-string test-read-cabal-1 read-cabal)
     ((("name" ("test-me"))
-- 
2.20.1 (Apple Git-117)





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 02 Jun 2019 20:16:01 GMT) Full text and rfc822 format available.

Notification sent to Robert Vollmert <rob <at> vllmrt.net>:
bug acknowledged by developer. (Sun, 02 Jun 2019 20:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 36047-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Robert Vollmert <rob <at> vllmrt.net>
Cc: 36047-done <at> debbugs.gnu.org
Subject: Re: [bug#36047] [PATCH 1/2] tests: hackage: Test multiline cabal
 description.
Date: Sun, 02 Jun 2019 22:15:23 +0200
Robert Vollmert <rob <at> vllmrt.net> skribis:

> * tests/hackage.scm: Add test case with multi-line description.

I edited the commit log to more closely reflect the changes made and
committed it.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Jul 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.