Improve select-job-for-commit
It now returns #f or a list, rather than the empty list or a nested list.
This commit is contained in:
parent
51204aefca
commit
6023aa8caf
4 changed files with 44 additions and 43 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue