me
/
guix
Archived
1
0
Fork 0

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
master
Ludovic Courtès 2024-01-31 08:36:02 +01:00
parent 88e8b807d6
commit 36d654fa54
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 3 deletions

View File

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