guix-commits
[Top][All Lists]
Advanced

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

branch master updated: tests: Fix database tests.


From: Mathieu Othacehe
Subject: branch master updated: tests: Fix database tests.
Date: Wed, 19 Jan 2022 04:57:36 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix-cuirass.

The following commit(s) were added to refs/heads/master by this push:
     new 9f08035  tests: Fix database tests.
9f08035 is described below

commit 9f08035f942a1e78f92e2db886d7837b0ab98b2f
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Wed Jan 19 10:55:18 2022 +0100

    tests: Fix database tests.
    
    * tests/database.scm: Fix it.
---
 tests/database.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/database.scm b/tests/database.scm
index c7093bf..4d5abac 100644
--- a/tests/database.scm
+++ b/tests/database.scm
@@ -131,7 +131,7 @@
         (name "tmp")
         (build 'core)))
       (db-deactivate-specification "tmp")
-      (not (db-get-specification "tmp"))))
+      (eq? (length (db-get-specifications)) 1)))
 
   (test-assert "exec-query"
     (begin



reply via email to

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