mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01: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:
parent
88e8b807d6
commit
36d654fa54
1 changed files with 3 additions and 3 deletions
|
@ -191,9 +191,9 @@ (define channel-metadata-dependencies
|
||||||
(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"
|
||||||
|
|
Loading…
Reference in a new issue