Skip to content

Commit

Permalink
fmt action inline
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed May 6, 2024
1 parent e09384d commit 6e1c19f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ocaml-lsp-server/test/e2e-new/action_inline.ml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ let _ =
let $f x y = x + y in
f 0
|};
[%expect {|
[%expect
{|
let _ =
let f x y = x + y in
((fun x y -> x + y) 0) |}]
Expand All @@ -231,7 +232,8 @@ let _ =
let $f ~x y = x + y in
f ~x:0
|};
[%expect {|
[%expect
{|
let _ =
let f ~x y = x + y in
((fun ~x y -> x + y) ~x:0) |}]
Expand Down Expand Up @@ -464,7 +466,8 @@ let _ =
let $f _ = 0 in
f (print_endline "hi")
|};
[%expect {|
[%expect
{|
let _ =
let f _ = 0 in
(let _ = print_endline "hi" in 0) |}]

0 comments on commit 6e1c19f

Please sign in to comment.