tests: Adjust crate importer test to spdx changes.

This is a followup to 95b0544fcfa1a663435a9ac84db94312b938022b.

* tests/crate.scm ("licenses: MIT/Apache-2.0 AND BSD-2-Clause"): Adjust
expected result.
This commit is contained in:
Ludovic Courtès 2022-05-30 12:21:50 +02:00
parent 1ae0e1dc29
commit 61d4f9e89d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 David Thompson <davet@gnu.org> ;;; Copyright © 2014 David Thompson <davet@gnu.org>
;;; Copyright © 2016 David Craven <david@craven.ch> ;;; 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> ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -572,7 +572,7 @@
(string->license "Apache-2.0 WITH LLVM-exception")) (string->license "Apache-2.0 WITH LLVM-exception"))
(test-equal "licenses: MIT/Apache-2.0 AND BSD-2-Clause" (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")) (string->license "MIT/Apache-2.0 AND BSD-2-Clause"))
(test-equal "licenses: MIT/Apache-2.0" (test-equal "licenses: MIT/Apache-2.0"