mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 21:37:02 +00:00
Minor adjustments after rebase
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
c9fa77cc70
commit
ed0fa93245
2 changed files with 5 additions and 12 deletions
|
@ -190,7 +190,7 @@ let basic_tests ( ctx : context ) =
|
|||
(* Error handling test. *)
|
||||
try (
|
||||
let i = Integer.mk_numeral_s ctx "1/2" in
|
||||
raise (TestFailedException "") (* unreachable *)
|
||||
raise (TestFailedException (to_string i)) (* unreachable *)
|
||||
)
|
||||
with Z3native.Exception(_) -> (
|
||||
Printf.printf "Exception caught, OK.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue