From 0ac53d49f63d163aeea72706d3fc6d63699397b5 Mon Sep 17 00:00:00 2001 From: pmpknu Date: Tue, 29 Oct 2024 14:28:57 +0300 Subject: [PATCH] typo(p19) fix fmt --- p19/lib/date.ml | 1 - p19/lib/dune | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/p19/lib/date.ml b/p19/lib/date.ml index e0ccd19..15c7b71 100644 --- a/p19/lib/date.ml +++ b/p19/lib/date.ml @@ -1,5 +1,4 @@ let is_leap year = (year mod 4 = 0 && year mod 100 <> 0) || year mod 400 = 0 - let%test "is_leap for leap year 2000" = is_leap 2000 = true let%test "is_leap for leap year 2020" = is_leap 2020 = true let%test "is_leap for non-leap year 1900" = is_leap 1900 = false diff --git a/p19/lib/dune b/p19/lib/dune index a21146d..c9871fb 100644 --- a/p19/lib/dune +++ b/p19/lib/dune @@ -4,4 +4,4 @@ (inline_tests (flags (-verbose))) (preprocess - (pps ppx_inline_test))) \ No newline at end of file + (pps ppx_inline_test)))