From 6023aa8caf6e7098109b756ca490ca73d0cbe559 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 9 Oct 2020 19:31:51 +0100 Subject: Improve select-job-for-commit It now returns #f or a list, rather than the empty list or a nested list. --- tests/jobs-load-new-guix-revision.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/jobs-load-new-guix-revision.scm b/tests/jobs-load-new-guix-revision.scm index 99acfa7..7d722af 100644 --- a/tests/jobs-load-new-guix-revision.scm +++ b/tests/jobs-load-new-guix-revision.scm @@ -21,7 +21,7 @@ (exec-query conn "TRUNCATE guix_revisions CASCADE") (test-equal "select-job-for-commit works" - '() + #f (select-job-for-commit conn "does not exist")) (exec-query conn "TRUNCATE guix_revisions CASCADE") -- cgit v1.2.3