Skip to content

Commit

Permalink
Add extra test case for operator with parens
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
  • Loading branch information
NathanReb committed Jan 31, 2024
1 parent 88b3c94 commit 3ee3d52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/base/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ let _ = convert_longident "+."
("( + ).", Ppxlib.Longident.Ldot (Ppxlib.Longident.Lident "+", ""))
|}]

let _ = convert_longident "(+.)"
[%%expect{|
- : string * longident = ("( +. )", Ppxlib.Longident.Lident "+.")
|}]

let _ = convert_longident "Foo.(+.)"
[%%expect{|
- : string * longident =
Expand Down

0 comments on commit 3ee3d52

Please sign in to comment.