From dfe950bc03dc1c7d076d34c5354f6c681a2b8245 Mon Sep 17 00:00:00 2001 From: xvw Date: Fri, 4 Oct 2024 19:49:30 +0200 Subject: [PATCH] Fix alcotest constraint (thanks to @dinosaure) --- dune-project | 4 ++-- yocaml.opam | 2 +- yocaml_syndication.opam | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dune-project b/dune-project index 461a22f..e0c0658 100644 --- a/dune-project +++ b/dune-project @@ -21,7 +21,7 @@ (odoc :with-doc) (sherlodoc :with-doc) (fmt :with-test) - (alcotest :with-test) + (alcotest (and :with-test (>= 1.3.0))) (qcheck :with-test) (qcheck-alcotest :with-test) ppx_expect @@ -147,7 +147,7 @@ (dune (>= 3.0.0)) (yocaml (= :version)) (fmt :with-test) - (alcotest :with-test) + (alcotest (and :with-test (>= 1.3.0))) (qcheck :with-test) (qcheck-alcotest :with-test) ppx_expect diff --git a/yocaml.opam b/yocaml.opam index 2515abe..88e14a6 100644 --- a/yocaml.opam +++ b/yocaml.opam @@ -14,7 +14,7 @@ depends: [ "odoc" {with-doc} "sherlodoc" {with-doc} "fmt" {with-test} - "alcotest" {with-test} + "alcotest" {with-test & >= "1.3.0"} "qcheck" {with-test} "qcheck-alcotest" {with-test} "ppx_expect" diff --git a/yocaml_syndication.opam b/yocaml_syndication.opam index 56db9a3..d904866 100644 --- a/yocaml_syndication.opam +++ b/yocaml_syndication.opam @@ -12,7 +12,7 @@ depends: [ "dune" {>= "3.14" & >= "3.0.0"} "yocaml" {= version} "fmt" {with-test} - "alcotest" {with-test} + "alcotest" {with-test & >= "1.3.0"} "qcheck" {with-test} "qcheck-alcotest" {with-test} "ppx_expect"