aboutsummaryrefslogtreecommitdiff
path: root/tests/elpa.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-08 15:30:49 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-08 15:30:49 +0200
commit80ea7526dbe5cfea39597fe440d65f53e083eb6f (patch)
tree4a9f6e070be547393a2299d5ec60cafdbd8cfbd6 /tests/elpa.scm
parent840bd1d358fd7270cf61dc03998eaf08fa110fdb (diff)
downloadguix-80ea7526dbe5cfea39597fe440d65f53e083eb6f.tar
guix-80ea7526dbe5cfea39597fe440d65f53e083eb6f.tar.gz
tests: Use the right identifier in tests/elpa.scm.
* tests/elpa.scm: Change 'nil->empty' to 'ensure-list' in the whole file.
Diffstat (limited to 'tests/elpa.scm')
-rw-r--r--tests/elpa.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/elpa.scm b/tests/elpa.scm
index 5d2914b8df..e8adde3f07 100644
--- a/tests/elpa.scm
+++ b/tests/elpa.scm
@@ -53,8 +53,8 @@ information about package NAME. (Function 'elpa-package-info'.)"
(define package-source-url
(@@ (guix import elpa) package-source-url))
-(define nil->empty
- (@@ (guix import elpa) nil->empty))
+(define ensure-list
+ (@@ (guix import elpa) ensure-list))
(define package-home-page
(@@ (guix import elpa) package-home-page))
@@ -76,7 +76,7 @@ information about package NAME. (Function 'elpa-package-info'.)"
(ver (elpa-version->string version))
(url (package-source-url kind name ver repo)))
(make-elpa-package name ver
- (nil->empty reqs) synopsis kind
+ (ensure-list reqs) synopsis kind
(package-home-page (first rest))
auctex-readme-mock
url)))