diff options
author | Christopher Baines <mail@cbaines.net> | 2020-10-09 19:31:51 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-10-09 19:31:51 +0100 |
commit | 6023aa8caf6e7098109b756ca490ca73d0cbe559 (patch) | |
tree | 42dede4b8e012b582481bbfe5999c41d8a5d7d93 /tests | |
parent | 51204aefca14a0eb6777f9fb6ee676675c41c49b (diff) | |
download | data-service-6023aa8caf6e7098109b756ca490ca73d0cbe559.tar data-service-6023aa8caf6e7098109b756ca490ca73d0cbe559.tar.gz |
Improve select-job-for-commit
It now returns #f or a list, rather than the empty list or a nested list.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/jobs-load-new-guix-revision.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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") |