Skip to content

Commit 76b6b71

Browse files
committed
cleaner
1 parent 5ebcd50 commit 76b6b71

6 files changed

Lines changed: 19 additions & 242 deletions

File tree

test/common/test_custom_metasyntax.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ let%expect_test "custom_metasyntax_test_alias" =
236236
in
237237
(* Need to use default metasyntax because rules don't yet support arbitrary metasyntax *)
238238
let metasyntax = { Matchers.Metasyntax.default_metasyntax with aliases } in
239-
let omega = Option.value_exn (Matchers.select_with_extension ~metasyntax ".go") in
240-
run ~metasyntax omega "foo(a) foo(ab) foo(abc) foo(abcd)" "foo(_2)" "matched";
239+
let matcher = Option.value_exn (Matchers.select_with_extension ~metasyntax ".go") in
240+
run ~metasyntax matcher "foo(a) foo(ab) foo(abc) foo(abcd)" "foo(_2)" "matched";
241241
[%expect_exact {|foo(a) matched foo(abc) foo(abcd)|}];
242-
run ~metasyntax omega "foo(a) foo(ab) foo(abc) foo(abcd)" "foo(_3)" "matched";
242+
run ~metasyntax matcher "foo(a) foo(ab) foo(abc) foo(abcd)" "foo(_3)" "matched";
243243
[%expect_exact {|foo(a) foo(ab) matched foo(abcd)|}]

test/dune

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
(library
2+
(name test_integration)
3+
(package comby)
4+
(modules
5+
test_special_matcher_cases
6+
test_substring_disabled)
7+
(inline_tests)
8+
(preprocess
9+
(pps ppx_expect ppx_sexp_message ppx_deriving_yojson))
10+
(libraries comby cohttp-lwt-unix core camlzip))
11+
12+
(alias
13+
(name runtest)
14+
(deps
15+
(source_tree example)
16+
(source_tree example/src/.ignore-me)))

test/omega/dune

Lines changed: 0 additions & 21 deletions
This file was deleted.

test/omega/test_optional_holes.ml

Lines changed: 0 additions & 218 deletions
This file was deleted.

0 commit comments

Comments
 (0)