summaryrefslogtreecommitdiff
path: root/test/insert_list.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-20 18:47:26 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-20 18:47:26 +0100
commitfa4970bf1b74f3fa0b2f63cbd461d98c251dc0f0 (patch)
tree577a41415e67510f08f43fc48c794c36a10f6e80 /test/insert_list.ml
parentb05e2d2be7be28ee6c577671002797cf9abaf177 (diff)
Updated the model for representing ocaml types in the application type
Diffstat (limited to 'test/insert_list.ml')
-rw-r--r--test/insert_list.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/insert_list.ml b/test/insert_list.ml
index ffc4169..a2425ae 100644
--- a/test/insert_list.ml
+++ b/test/insert_list.ml
@@ -77,7 +77,7 @@ let provider_for (list : Model.list) (row : Int64.t) : string -> Value.value =
| Model.Typ.MultiReference reference ->
(* Several values per row, to highlight the multivalued data *)
let values = if Int64.equal row 1L then [ 1L; 2L ] else [ 2L ] in
- Value.multi (MultiReference reference, List.to_seq values)
+ Value.single (MultiReference reference, List.to_seq values)
let insert_rows db (list : Model.list) =
let* _id1 = Query.insert_list db list (provider_for list 1L) in