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
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -191,9 +191,9 @@ (define channel-metadata-dependencies
(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"