tests: Use the right identifier in tests/elpa.scm.

* tests/elpa.scm: Change 'nil->empty' to 'ensure-list' in the whole file.
This commit is contained in:
Ludovic Courtès 2015-07-08 15:30:49 +02:00
parent 840bd1d358
commit 80ea7526db
1 changed files with 3 additions and 3 deletions

View File

@ -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)))