Try to avoid an error probably associated with empty package licenses

This commit is contained in:
Christopher Baines 2025-09-26 10:06:36 +01:00
parent 98e493f6e0
commit 119b814877
2 changed files with 5 additions and 2 deletions

View file

@ -32,5 +32,7 @@
'(license_ids)
(vector-map
(lambda (_ license-ids)
(list (sort license-ids <)))
(if (= 0 (vector-length license-ids))
(list (cons "integer[]" license-ids))
(list (sort license-ids <))))
license-id-lists)))

View file

@ -17,7 +17,8 @@
#f)
("License 2"
#f
#f))))
#f))
()))
(with-postgresql-connection
"test-model-license-set"