Skip to content

Commit

Permalink
test is now identical between 510 and earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
panglesd committed Sep 6, 2023
1 parent 03e1411 commit 9b2b53a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 173 deletions.
22 changes: 1 addition & 21 deletions test/code_path/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
(rule
(alias runtest)
(enabled_if
(and
(>= %{ocaml_version} "4.10.0")
(< %{ocaml_version} "5.1.0")))
(>= %{ocaml_version} "4.10.0"))
(deps
(:test test.ml)
(package ppxlib))
Expand All @@ -13,21 +11,3 @@
(progn
(run expect-test %{test})
(diff? %{test} %{test}.corrected)))))

(rule
(alias runtest)
(enabled_if
(>= %{ocaml_version} "5.1.0"))
(deps
(:test test.ml)
(:t test_510.ml)
(package ppxlib))
(action
(chdir
%{project_root}
(progn
(run mv %{t} %{t}.old)
(run cp %{test} %{t})
(run expect-test %{t})
(run mv %{t}.old %{t})
(diff? %{t} %{t}.corrected)))))
152 changes: 0 additions & 152 deletions test/code_path/test_510.ml

This file was deleted.

0 comments on commit 9b2b53a

Please sign in to comment.