mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 22:51:24 +01:00
Format with ocamlformat
This commit is contained in:
parent
5d0923569f
commit
fa7b93e3da
11 changed files with 298 additions and 206 deletions
|
|
@ -111,7 +111,11 @@ let test_get_args_just_enough = () => {
|
|||
};
|
||||
|
||||
let test_get_args_error = () => {
|
||||
check_get_args("Errors on too few args", Error(), get_args([|"000", "111"|]))
|
||||
check_get_args(
|
||||
"Errors on too few args",
|
||||
Error(),
|
||||
get_args([|"000", "111"|]),
|
||||
);
|
||||
};
|
||||
|
||||
let () =
|
||||
|
|
@ -148,11 +152,15 @@ let () =
|
|||
),
|
||||
(
|
||||
"get_args",
|
||||
[
|
||||
test_case("Parses Args", `Quick, test_get_args_simple),
|
||||
test_case("Parses just enough args", `Quick, test_get_args_just_enough),
|
||||
test_case("Handles too few args", `Quick, test_get_args_error)
|
||||
],
|
||||
[
|
||||
test_case("Parses Args", `Quick, test_get_args_simple),
|
||||
test_case(
|
||||
"Parses just enough args",
|
||||
`Quick,
|
||||
test_get_args_just_enough,
|
||||
),
|
||||
test_case("Handles too few args", `Quick, test_get_args_error),
|
||||
],
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue