tests: Adjust crate importer test to spdx changes.
authorLudovic Courtès <ludo@gnu.org>
Mon, 30 May 2022 10:21:50 +0000 (12:21 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 30 May 2022 14:34:39 +0000 (16:34 +0200)
This is a followup to 95b0544fcfa1a663435a9ac84db94312b938022b.

* tests/crate.scm ("licenses: MIT/Apache-2.0 AND BSD-2-Clause"): Adjust
expected result.

tests/crate.scm

index b6c3a7e..720fcb2 100644 (file)
@@ -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, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
   (string->license "Apache-2.0 WITH LLVM-exception"))
 
 (test-equal "licenses: MIT/Apache-2.0 AND BSD-2-Clause"
-  '(license:expat license:asl2.0 unknown-license!)
+  '(license:expat license:asl2.0 license:bsd-2)
   (string->license "MIT/Apache-2.0 AND BSD-2-Clause"))
 
 (test-equal "licenses: MIT/Apache-2.0"