aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-02-05 16:03:43 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-05 16:18:58 +0100
commitc24fe4a52057ea3390faf59fd672a617eff34aea (patch)
tree08af7111f8be5b909266af1ff87143cd81a1f811 /tests
parent23db83333568266972e666ee66574db29cdbbdc7 (diff)
downloadpatches-c24fe4a52057ea3390faf59fd672a617eff34aea.tar
patches-c24fe4a52057ea3390faf59fd672a617eff34aea.tar.gz
import: gem: Deal with unavailable licensing info.
Fixes <https://bugs.gnu.org/39404>. Reported by Seth <lee.seth@tuta.io>. * guix/import/gem.scm (<gem>)[licenses]: Adjust for non-vector licenses. * tests/gem.scm (test-bar-json): Change "licenses" to 'null'. ("gem-recursive-import"): Adjust accordingly.
Diffstat (limited to 'tests')
-rw-r--r--tests/gem.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem.scm b/tests/gem.scm
index 5158238d18..455fc15189 100644
--- a/tests/gem.scm
+++ b/tests/gem.scm
@@ -55,7 +55,7 @@
{ \"name\": \"bundler\" },
]
},
- \"licenses\": [\"MIT\", \"Apache 2.0\"]
+ \"licenses\": null
}")
(define test-bundler-json
@@ -138,7 +138,7 @@
('synopsis "Another cool gem")
('description "Another cool gem")
('home-page "https://example.com")
- ('license ('list 'license:expat 'license:asl2.0)))
+ ('license #f)) ;no licensing info
('package
('name "ruby-bundler")
('version "1.14.2")