Skip to content

Commit

Permalink
Fix test on 5.2 and ocamlformat dependency (#1353)
Browse files Browse the repository at this point in the history
* Update ocamlformat dependency in dune-project

* Promote expected change in documentation test

This is due to a change of the List.iter documentation in the standard library.
  • Loading branch information
voodoos authored Jul 30, 2024
1 parent d84bbaa commit 45f5dda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ possible and does not make any assumptions about IO.
astring
camlp-streams
(ppx_expect (and (>= v0.15.0) (< 0.17.0) :with-test))
(ocamlformat (and :with-test (= 0.26.1)))
(ocamlformat (and :with-test (= 0.26.2)))
(ocamlc-loc (>= 3.7.0))
(pp (>= 1.1.2))
(csexp (>= 1.5))
Expand Down
2 changes: 1 addition & 1 deletion ocaml-lsp-server/test/e2e-new/documentation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ let%expect_test "Documentation when List module is shadowed" =
{
"doc": {
"kind": "plaintext",
"value": "[iter f [a1; ...; an]] applies function [f] in turn to\n [a1; ...; an]. It is equivalent to\n [begin f a1; f a2; ...; f an; () end]."
"value": "[iter f [a1; ...; an]] applies function [f] in turn to\n [[a1; ...; an]]. It is equivalent to\n [f a1; f a2; ...; f an]."
}
} |}]
;;
Expand Down

0 comments on commit 45f5dda

Please sign in to comment.