summary refs log tree commit diff
path: root/tests/cran.scm
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-01-17 10:20:59 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-01-20 22:06:25 +1000
commita132f7d68f4c61133c0c97d8e5125c48f7205ac9 (patch)
tree6150c9d9562ebd3002688c60bcd3e8d82d686e48 /tests/cran.scm
parente88d5fa9ebab07d0b23cb3fc0f3f38bd41047e94 (diff)
downloadguix-a132f7d68f4c61133c0c97d8e5125c48f7205ac9.tar.gz
tests: Move beatify-description tests to import-tests.
Fixes <http://bugs.gnu.org/22391>.

* tests/cran.scm (beautify-description: use double spacing,
beautify-description: transform fragment into sentence). Move
from here ...
* tests/import-utils.scm: ... to here. New file.
* Makefile.am (SCM_TESTS): Add import-utils.
Diffstat (limited to 'tests/cran.scm')
-rw-r--r--tests/cran.scm10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/cran.scm b/tests/cran.scm
index e4f22353bd..83d2e7f554 100644
--- a/tests/cran.scm
+++ b/tests/cran.scm
@@ -86,16 +86,6 @@ Date/Publication: 2015-07-14 14:15:16
   '()
   ((@@ (guix import cran) listify) simple-alist "BadList"))
 
-(test-equal "beautify-description: use double spacing"
-  "This is a package.  It is great.  Trust me Mr.  Hendrix."
-  ((@@ (guix import cran) beautify-description)
-   "This is a package. It is great. Trust me Mr. Hendrix."))
-
-(test-equal "beautify-description: transform fragment into sentence"
-  "This package provides a function to establish world peace"
-  ((@@ (guix import cran) beautify-description)
-   "A function to establish world peace"))
-
 (test-assert "description->package"
   ;; Replace network resources with sample data.
   (mock ((guix build download) url-fetch