Skip to content

Commit 9d99992

Browse files
committed
Add test for labeled tuples
1 parent a07793a commit 9d99992

File tree

8 files changed

+2983
-0
lines changed

8 files changed

+2983
-0
lines changed

test/passing/gen/dune.inc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3434,6 +3434,24 @@
34343434
(package ocamlformat)
34353435
(action (diff label_option_default_args.ml.err label_option_default_args.ml.stderr)))
34363436

3437+
(rule
3438+
(deps .ocamlformat)
3439+
(package ocamlformat)
3440+
(action
3441+
(with-stdout-to labeled_tuples.ml.stdout
3442+
(with-stderr-to labeled_tuples.ml.stderr
3443+
(run %{bin:ocamlformat} --name labeled_tuples.ml --margin-check %{dep:../tests/labeled_tuples.ml})))))
3444+
3445+
(rule
3446+
(alias runtest)
3447+
(package ocamlformat)
3448+
(action (diff labeled_tuples.ml.ref labeled_tuples.ml.stdout)))
3449+
3450+
(rule
3451+
(alias runtest)
3452+
(package ocamlformat)
3453+
(action (diff labeled_tuples.ml.err labeled_tuples.ml.stderr)))
3454+
34373455
(rule
34383456
(deps .ocamlformat)
34393457
(package ocamlformat)

0 commit comments

Comments
 (0)