tests: crate: Adjust for change in imported yanked crates.

This is a follow-up to 67950f46ef.

* tests/crate.scm (crate-import-only-yanked-available): Adjust the
imported crates to match the change in the importer.

Change-Id: I9657838e51062861299fb10bc25ad0c05cb75f5a
This commit is contained in:
Efraim Flashner 2025-01-26 10:41:20 +02:00
parent aca2ac3e3d
commit a895cc4c5b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3,7 +3,7 @@
;;; Copyright © 2016 David Craven <david@craven.ch> ;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2019, 2020, 2022 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>
;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2023, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2023 David Elsing <david.elsing@posteo.net> ;;; Copyright © 2023 David Elsing <david.elsing@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -1030,7 +1030,7 @@
(method url-fetch) (method url-fetch)
(uri (crate-uri "leaf-bob" version)) (uri (crate-uri "leaf-bob" version))
(file-name (file-name
(string-append name "-" version ".tar.gz")) (string-append name "-" version "-yanked.tar.gz"))
(sha256 (sha256
(base32 (base32
(? string? hash))))) (? string? hash)))))
@ -1050,7 +1050,7 @@
(method url-fetch) (method url-fetch)
(uri (crate-uri "leaf-bob" version)) (uri (crate-uri "leaf-bob" version))
(file-name (file-name
(string-append name "-" version ".tar.gz")) (string-append name "-" version "-yanked.tar.gz"))
(sha256 (sha256
(base32 (base32
(? string? hash))))) (? string? hash)))))