import: gem: Fix minor bug and add unit test.
authorDavid Thompson <dthompson2@worcester.edu>
Tue, 1 Sep 2015 23:57:44 +0000 (19:57 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Wed, 2 Sep 2015 00:00:01 +0000 (20:00 -0400)
commita96524cc7d302ad6a8f2cd2e970a148b360f629a
tree5bc3f8b199a48229692ff8381d7a3a80c3ee571d
parent385a44bebb4a33517165efa2f75ab376c2263db6
import: gem: Fix minor bug and add unit test.

* guix/import/gem.scm (make-gem-sexp): Properly handle an empty list of
  licenses.  When rendering a list of licenses, cons 'list onto the front of
  the expression.
* tests/gem.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
Makefile.am
guix/import/gem.scm
tests/gem.scm [new file with mode: 0644]