Skip to content

Commit 45f5dda

Browse files
authored
Fix test on 5.2 and ocamlformat dependency (#1353)
* 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.
1 parent d84bbaa commit 45f5dda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ possible and does not make any assumptions about IO.
6363
astring
6464
camlp-streams
6565
(ppx_expect (and (>= v0.15.0) (< 0.17.0) :with-test))
66-
(ocamlformat (and :with-test (= 0.26.1)))
66+
(ocamlformat (and :with-test (= 0.26.2)))
6767
(ocamlc-loc (>= 3.7.0))
6868
(pp (>= 1.1.2))
6969
(csexp (>= 1.5))

ocaml-lsp-server/test/e2e-new/documentation.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ let%expect_test "Documentation when List module is shadowed" =
109109
{
110110
"doc": {
111111
"kind": "plaintext",
112-
"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]."
112+
"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]."
113113
}
114114
} |}]
115115
;;

0 commit comments

Comments
 (0)