Skip to content

Commit

Permalink
Simplify test
Browse files Browse the repository at this point in the history
Co-authored-by: Paul-Elliot <[email protected]>
Signed-off-by: Stefan Muenzel <[email protected]>
  • Loading branch information
smuenzel and panglesd committed Mar 28, 2023
1 parent 41a8ba6 commit 33a0bac
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/traverse/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ class virtual iter :
end
|}]

type t =
| X
| Arrow of { label : string option; domain : t; range : t }
type t = Inline of { a : string option; b : t }
[@@deriving traverse]
[%%expect{|
type t = X | Arrow of { label : string option; domain : t; range : t; }
type t = Inline of { a : string option; b : t; }
class virtual map :
object
method virtual option : ('a -> 'a) -> 'a option -> 'a option
Expand Down

0 comments on commit 33a0bac

Please sign in to comment.