emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#36047: closed ([PATCH 1/2] tests: hackage: Test mu


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36047: closed ([PATCH 1/2] tests: hackage: Test multiline cabal description.)
Date: Sun, 02 Jun 2019 20:16:01 +0000

Your message dated Sun, 02 Jun 2019 22:15:23 +0200
with message-id <address@hidden>
and subject line Re: [bug#36047] [PATCH 1/2] tests: hackage: Test multiline 
cabal description.
has caused the debbugs.gnu.org bug report #36047,
regarding [PATCH 1/2] tests: hackage: Test multiline cabal description.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
36047: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36047
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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)




--- End Message ---
--- Begin Message --- Subject: Re: [bug#36047] [PATCH 1/2] tests: hackage: Test multiline cabal description. Date: Sun, 02 Jun 2019 22:15:23 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
Robert Vollmert <address@hidden> 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’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]