From 36d654fa540539413b88cf8ec62a0fb55280f820 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 31 Jan 2024 08:36:02 +0100 Subject: channels: Tweak test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * tests/channels.scm ("latest-channel-instances excludes duplicate channel dependencies"): Use ‘equal?’ rather than ‘string=?’ since we can get #f. Change-Id: I437b9d7e23200cf0c98b1593e68b1d355bc2de01 --- tests/channels.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/channels.scm b/tests/channels.scm index 6c4276deb4..27e8487fbc 100644 --- a/tests/channels.scm +++ b/tests/channels.scm @@ -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" -- cgit v1.2.3