guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: channels: Tweak test.


From: guix-commits
Subject: 01/03: channels: Tweak test.
Date: Wed, 31 Jan 2024 03:11:59 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 36d654fa540539413b88cf8ec62a0fb55280f820
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Jan 31 08:36:02 2024 +0100

    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
---
 tests/channels.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]