aboutsummaryrefslogtreecommitdiff
path: root/lib/fixture.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fixture.ml')
-rw-r--r--lib/fixture.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fixture.ml b/lib/fixture.ml
index d28d4b3..94c39a9 100644
--- a/lib/fixture.ml
+++ b/lib/fixture.ml
@@ -135,6 +135,8 @@ let json_of_generated_fixtures fixtures =
"[" ^ String.concat ", " (List.map json_of_row rows) ^ "]"
+(* TODO: Should export not only as strings *)
+
let%test "json_of_generated_fixtures" =
let result = [ [ "id"; "name" ]; [ "1234"; "John" ] ] |> json_of_generated_fixtures in
result = "[{\"id\": \"1234\", \"name\": \"John\"}]"