From 9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 26 Dec 2023 09:50:20 -0600 Subject: Support setting amount to be generated --- bin/main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/main.ml b/bin/main.ml index c964c5e..29f354f 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -14,7 +14,7 @@ let fixgen content output_type () = else ( match result with | Some ast -> - Ast_types.compile ast ~amount:4 + Ast_types.compile ast |> List.iter (fun (name, file) -> let result = Fixture.csv_of_generated_fixtures file in print_endline ("FILE NAME: " ^ name); -- cgit v1.2.3