mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
fix unit test for default exception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
940fed16e1
commit
e2adcc19ec
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ static void tst1() {
|
||||||
|
|
||||||
static void tst2() {
|
static void tst2() {
|
||||||
try {
|
try {
|
||||||
throw default_exception("Format %d %s", 12, "twelve");
|
throw default_exception(default_exception::fmt(), "Format %d %s", 12, "twelve");
|
||||||
}
|
}
|
||||||
catch (z3_exception& ex) {
|
catch (z3_exception& ex) {
|
||||||
std::cerr << ex.msg() << "\n";
|
std::cerr << ex.msg() << "\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue