summary refs log tree commit diff
path: root/tests/crate.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-01-16 21:45:36 +0100
committerLudovic Courtès <ludo@gnu.org>2020-01-16 23:14:05 +0100
commit72c678af55390ce01bec590f760ab95af67663b2 (patch)
tree1c34fc0dba7b6bb511fbdcc6ad3fd151a5aa5b18 /tests/crate.scm
parent3597c0396b9bd6440c02462107c743c6aeb29672 (diff)
downloadguix-72c678af55390ce01bec590f760ab95af67663b2.tar.gz
import: crate: Export 'string->license'.
* guix/import/crate.scm (string->license): Export.
* tests/crate.scm (string->license): Remove.
Diffstat (limited to 'tests/crate.scm')
-rw-r--r--tests/crate.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/crate.scm b/tests/crate.scm
index 61933a8de8..aa51faebf9 100644
--- a/tests/crate.scm
+++ b/tests/crate.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 David Thompson <davet@gnu.org>
 ;;; Copyright © 2016 David Craven <david@craven.ch>
-;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -233,9 +233,6 @@
 (define test-source-hash
   "")
 
-(define string->license
-  (@@ (guix import crate) string->license))
-
 (test-begin "crate")
 
 (test-equal "guix-package->crate-name"