Skip to content

Commit

Permalink
Set min version of cmdliner to 1.1.1
Browse files Browse the repository at this point in the history
cmdliner.1.1.1 removed trailing whitespace from help messages. Building
this with cmdliner < 1.1.1 causes the comparison with alcotest-help.txt
to fail due to whitespace differences.
  • Loading branch information
gridbugs authored and MisterDA committed Mar 31, 2023
1 parent 1835e23 commit 176de6a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion alcotest-async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ depends: [
"dune" {>= "3.0"}
"re" {with-test}
"fmt" {with-test}
"cmdliner" {with-test & >= "1.1.0"}
"cmdliner" {with-test & >= "1.1.1"}
"core" {>= "v0.15.0"}
"core_unix" {>= "v0.15.0"}
"base"
Expand Down
2 changes: 1 addition & 1 deletion alcotest-js.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ depends: [
"alcotest" {= version}
"js_of_ocaml-compiler" {>= "3.11.0"}
"fmt" {with-test & >= "0.8.7"}
"cmdliner" {with-test & >= "1.1.0"}
"cmdliner" {with-test & >= "1.1.1"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/mirage/alcotest.git"
Expand Down
2 changes: 1 addition & 1 deletion alcotest-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bug-reports: "https://github.com/mirage/alcotest/issues"
depends: [
"dune" {>= "3.0"}
"re" {with-test}
"cmdliner" {with-test & >= "1.1.0"}
"cmdliner" {with-test & >= "1.1.1"}
"fmt"
"ocaml" {>= "4.05.0"}
"alcotest" {= version}
Expand Down
2 changes: 1 addition & 1 deletion alcotest-mirage.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bug-reports: "https://github.com/mirage/alcotest/issues"
depends: [
"dune" {>= "3.0"}
"re" {with-test}
"cmdliner" {with-test & >= "1.1.0"}
"cmdliner" {with-test & >= "1.1.1"}
"fmt"
"ocaml" {>= "4.05.0"}
"alcotest" {= version}
Expand Down
2 changes: 1 addition & 1 deletion alcotest.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ depends: [
"ocaml" {>= "4.05.0"}
"fmt" {>= "0.8.7"}
"astring"
"cmdliner" {>= "1.1.0"}
"cmdliner" {>= "1.1.1"}
"re" {>= "1.7.2"}
"stdlib-shims"
"uutf" {>= "1.0.1"}
Expand Down
10 changes: 5 additions & 5 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tests to run.
(ocaml (>= 4.05.0))
(fmt (>= 0.8.7))
astring
(cmdliner (>= 1.1.0))
(cmdliner (>= 1.1.1))
(re (>= 1.7.2))
stdlib-shims
(uutf (>= 1.0.1))
Expand All @@ -44,7 +44,7 @@ tests to run.
(depends
(re :with-test)
(fmt :with-test)
(cmdliner (and :with-test (>= 1.1.0)))
(cmdliner (and :with-test (>= 1.1.1)))
(core (>= v0.15.0))
(core_unix (>= v0.15.0))
base
Expand All @@ -61,7 +61,7 @@ tests to run.
(documentation "https://mirage.github.io/alcotest")
(depends
(re :with-test)
(cmdliner (and :with-test (>= 1.1.0)))
(cmdliner (and :with-test (>= 1.1.1)))
fmt
(ocaml (>= 4.05.0))
(alcotest (= :version))
Expand All @@ -75,7 +75,7 @@ tests to run.
(documentation "https://mirage.github.io/alcotest")
(depends
(re :with-test)
(cmdliner (and :with-test (>= 1.1.0)))
(cmdliner (and :with-test (>= 1.1.1)))
fmt
(ocaml (>= 4.05.0))
(alcotest (= :version))
Expand All @@ -94,4 +94,4 @@ tests to run.
(alcotest (= :version))
(js_of_ocaml-compiler (>= 3.11.0))
(fmt (and :with-test (>= 0.8.7)))
(cmdliner (and :with-test (>= 1.1.0)))))
(cmdliner (and :with-test (>= 1.1.1)))))

0 comments on commit 176de6a

Please sign in to comment.