1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

channels: Tweak test.

* tests/channels.scm ("latest-channel-instances excludes duplicate channel dependencies"):
Use ‘equal?’ rather than ‘string=?’ since we can get #f.

Change-Id: I437b9d7e23200cf0c98b1593e68b1d355bc2de01
This commit is contained in:
Ludovic Courtès
2024-01-31 08:36:02 +01:00
parent 88e8b807d6
commit 36d654fa54

View File

@@ -191,9 +191,9 @@
(and (eq? (channel-name
(channel-instance-channel instance))
'test-channel)
(string=? (channel-commit
(channel-instance-channel instance))
"abc1234")))
(equal? (channel-commit
(channel-instance-channel instance))
"abc1234")))
instances)))))))
(test-equal "latest-channel-instances #:validate-pull"