Skip to content

Commit

Permalink
Added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Jun 19, 2024
1 parent efd5653 commit 51e0a1f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/search_exp_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,29 @@ module Alco = struct
; et ~m:`Exact "kl" true false
])
];
test_exp "'^abcd efgh$$ ij$kl$"
[ ([ atm `Exact
; at "^"
; at "abcd"
; at " "
; at "efgh"
; at "$"
; atm `Suffix
; at " "
; at "ij"
; at "$"
; at "kl"
; atm `Suffix
],
[ et ~m:`Exact "^" false true
; et ~m:`Exact "abcd" true false
; et ~m:`Suffix "efgh" false true
; et ~m:`Exact "$" true false
; et ~m:`Suffix "ij" false true
; et ~m:`Exact "$" true true
; et ~m:`Exact "kl" true false
])
];
()

let suite =
Expand Down

0 comments on commit 51e0a1f

Please sign in to comment.