Skip to content

Commit

Permalink
Adapt expect tests to Dune 3 output
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Apr 29, 2023
1 parent f2afb4f commit df530ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions bisect_ppx.opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ depends: [
"ocaml" {>= "4.03.0"}
"ppxlib" {>= "0.26.0" & < "0.28.0"}

"dune" {with-test & >= "3.0.0"}
"ocamlformat" {with-test & = "0.16.0"}
]

Expand Down
4 changes: 2 additions & 2 deletions test/instrument/recent/exclusions.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$ cat > excluded_1.ml <<'EOF'
> let _f () = ()
> EOF
$ dune build ./not_excluded.bc --instrument-with bisect_ppx 2>&1 | tail -n +2
$ dune build ./not_excluded.bc --instrument-with bisect_ppx 2>&1
[@@@ocaml.ppx.context
{
tool_name = "ppx_driver";
Expand Down Expand Up @@ -51,7 +51,7 @@
[@@@ocaml.text "/*"]
let _f () = ___bisect_visit___ 0; ()
$ dune build ./excluded_1.bc --instrument-with bisect_ppx 2>&1 | tail -n +2
$ dune build ./excluded_1.bc --instrument-with bisect_ppx 2>&1
[@@@ocaml.ppx.context
{
tool_name = "ppx_driver";
Expand Down

0 comments on commit df530ff

Please sign in to comment.