Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gridbugs committed Sep 27, 2024
1 parent 2e4e98d commit 4d1ad87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/unit_tests/list_.ml
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ let%expect_test "parsing a list containing a parse error" =
List.iter print_int xs
in
run Command.(singleton parser) [ "1,two,3" ];
[%expect {| Failed to parse the argument at position 0: invalid value: "two" (not an int) |}]
[%expect
{| Failed to parse the argument at position 0: invalid value: "two" (not an int) |}]
;;
3 changes: 2 additions & 1 deletion tests/unit_tests/pair.ml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ let%expect_test "parsing a pair containing a parse error" =
Printf.printf "%d %b" i b
in
run Command.(singleton parser) [ "42,foo" ];
[%expect {| Failed to parse the argument at position 0: invalid value: "foo" (not an bool) |}]
[%expect
{| Failed to parse the argument at position 0: invalid value: "foo" (not an bool) |}]
;;

0 comments on commit 4d1ad87

Please sign in to comment.